Linear layer calculates y=xW + b
W is initialized with Xavier initialization, while the bias is initialized to zeros
Creates a linear layer
Feature dimension of the input
Feature dimension of the output
Wether a bias should be added or not. Defaults to true
Generated using TypeDoc
Linear layer calculates y=xW + b
W is initialized with Xavier initialization, while the bias is initialized to zeros