Documentation
¶
Index ¶
Constants ¶
View Source
const ( ActivationReLu = "relu" ActivationSoftmax = "softmax" )
Variables ¶
View Source
var ErrEmptyLayers = errors.New("empty layers")
Functions ¶
Types ¶
type NeuralNetwork ¶
type NeuralNetwork struct {
// contains filtered or unexported fields
}
func NewNeuralNetwork ¶
func NewNeuralNetwork(g *gorgonia.ExprGraph, layers []Layer) (*NeuralNetwork, error)
func (*NeuralNetwork) GetGraph ¶
func (m *NeuralNetwork) GetGraph() *gorgonia.ExprGraph
func (*NeuralNetwork) GetVal ¶
func (m *NeuralNetwork) GetVal() gorgonia.Value
func (*NeuralNetwork) Learnables ¶
func (m *NeuralNetwork) Learnables() gorgonia.Nodes
Click to show internal directories.
Click to hide internal directories.