Skip to contents

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)