Documentation
¶
Overview ¶
Package multi provides a trumpet.Generator that multiplexes training data over multiple trumpet.Generators.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator multiplexes given data over several trumpet.Generators and generates data from the specified trumpet.Generator.
func (*Generator) AddTrainer ¶
AddTrainer adds a new trumpet.Generator to the list of trainers that will be given data passed to Train.
func (*Generator) Generate ¶
Generate returns the string generated by the trumpet.Generator set by SetGenerator.
func (*Generator) SetGenerator ¶
SetGenerator sets the trumpet.Generator that will generate the string returned by Generate. The generator should also be passed to AddTrainer to make sure its gets the training data as well.
Click to show internal directories.
Click to hide internal directories.