Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


torch (version 0.4.0)

nnf_linear: Linear

Description

Applies a linear transformation to the incoming data: y=xAT+b.

Usage

nnf_linear(input, weight, bias = NULL)

Arguments

input

(N,,in_features) where * means any number of additional dimensions

weight

(out_features,in_features) the weights tensor.

bias

optional tensor (out_features)