Linear Layers

Linear Layers#

Linear#

class Linear(in_features: 'int', out_features: 'int', bias: 'bool' = True):

Applies a linear transformation to the incoming data: y = xA^T + b.

Methods#

extra_repr#

def extra_repr(self) -> 'str':

forward#

def forward(self, x: 'nb.Tensor') -> 'nb.Tensor':