Documentation
¶
Index ¶
- type Net
- func (n *Net) Add(layer layer.Layer)
- func (n *Net) Backward(grad mat.Matrix, ctx [][]mat.Matrix) []*params.Params
- func (n *Net) Forward(input mat.Matrix, isTraining bool) (ret mat.Matrix, context [][]mat.Matrix)
- func (n *Net) Layers() []layer.Layer
- func (n *Net) LoadLayers(layers []*pb.Layer)
- func (n *Net) ParamCount() uint64
- func (n *Net) Params() []*params.Params
- func (n *Net) Print()
- func (n *Net) SaveLayers() []*pb.Layer
- func (n *Net) Set(layer ...layer.Layer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Net ¶
type Net struct {
// contains filtered or unexported fields
}
func (*Net) LoadLayers ¶
func (*Net) ParamCount ¶
func (*Net) SaveLayers ¶
Click to show internal directories.
Click to hide internal directories.