Skip to main content

linear

Function linear 

Source
pub fn linear(x: &Tensor, w: &Tensor) -> Tensor
Expand description

Linear y = x·W in the [in,out] weight convention (no bias) — just a matmul.