Linear

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(T initial)
Undocumented in source.
this
this(T initialWeight, T initialBias)
Undocumented in source.

Members

Aliases

parameters
alias parameters = AliasSeq!(weights, bias)
Undocumented in source.

Functions

opCall
auto opCall(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
resetGrads
void resetGrads()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

bias
Tensor!(T, [OutputDim], useGradient) bias;
Undocumented in source.
weights
Tensor!(T, [InputDim, OutputDim], useGradient) weights;
Undocumented in source.

Meta