Python wrappers
Public Python APIs implemented by this engine symbol.Public free-function entry point for the linear op.
Thin wrapper that delegates to LinearBackward::forward. This
is the symbol the pybind11 binding layer (bind_nn.cpp) and other
C++ call sites use; calling it directly is equivalent to using the
node's static forward.
See Also
LinearBackward : Autograd node implementing the actual forward + backward.
Parameters
xTensorImplPtrInput tensor of shape .
WTensorImplPtrWeight matrix of shape
(N, K).bTensorImplPtrBias of shape
(N,) (zero-length tensor when bias is disabled).Returns
TensorImplPtrOutput tensor of shape .