Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float32ReadWriter ¶
type Float32ReadWriter interface { Float32Reader Float32Writer }
Float32ReadWriter ...
type Float32Reader ¶
Float32Reader a []float32
type Float32Writer ¶
Float32Writer writes an array of float 32
type FullTrainer ¶
FullTrainer object can return subtrainers
type ReadWriter ¶
type ReadWriter interface { ReadInputVector(*G.ExprGraph) (*G.Node, error) WriteComputedVector(*G.Node) error GetComputedVectors() G.Nodes // Should return all the nodes in the correct order }
ReadWriter is an interface that can Read and returns a oneOfK encoded vector
type Trainer ¶
type Trainer interface { ReadWriter // get the index of the expected output for offset // for example is the expected output is []int{0,0,1,0,0}, it returns 2 GetExpectedValue(offset int) (int, error) }
Trainer is a particular dataset that can be used to train a rnn it holds expected values
Click to show internal directories.
Click to hide internal directories.