linear

Undocumented in source. Be warned that the author may not have intended to support it.
version(all)
Tensor!(T, [ShapeX[0], ShapeW[1]], useGradX | useGradW | useGradB)
linear
(
T
size_t[2] ShapeX
UseGradient useGradX
size_t[2] ShapeW
UseGradient useGradW
size_t[1] ShapeB
UseGradient useGradB
)
(
Tensor!(T, ShapeX, useGradX) x
,
Tensor!(T, ShapeW, useGradW) W
,
Tensor!(T, ShapeB, useGradB) B
)

Meta