projection1D

Undocumented in source. Be warned that the author may not have intended to support it.
version(all)
projection1D
(
size_t axis
T
size_t[] ShapeW
UseGradient useGradW
size_t[] ShapeX
UseGradient useGradX
)
(
Tensor!(T, ShapeX, useGradX) x
,
Tensor!(T, ShapeW, useGradW) w
)
if (
(
axis == 2 ||
axis == 3
)
&&
ShapeX.length == 4
&&
ShapeW.length == 2
&&
ShapeX[axis] == ShapeW[0]
)

Meta