Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sigmoid ¶
type Sigmoid struct{}
func (Sigmoid) MatrixDerivative ¶
MatrixDerivative assumes the given output values are sigmoid(v), then this function
computes sigmoidPrime as sigmoid(v) * (1 - sigmoid(v))
type Tanh ¶
type Tanh struct{}
func (Tanh) MatrixDerivative ¶
MatrixDerivative assumes the given output values are tanh(v), then this function
computes tanhPrime as 1 - tanh(v)^2
Click to show internal directories.
Click to hide internal directories.