Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activation ¶
type Activation interface { Transform(rawPrediction mat.Vector) (mat.Vector, error) Type() protobuf.ActivateType Name() string }
Activation is an interface that an activation needs to implement.
type Logistic ¶
type Logistic struct{}
Logistic is struct contains necessary data for doing logistic calculation for now is empty.
func (*Logistic) Type ¶
func (a *Logistic) Type() protobuf.ActivateType
Type returns activation type.
type Raw ¶
type Raw struct{}
Raw is struct contains necessary data for doing logistic calculation for now is empty.
Click to show internal directories.
Click to hide internal directories.