Documentation ¶
Index ¶
- func NextSeqBatch(s *op.Scope, fileName string, seqLen, batchSize, numSeqs int64, seed int64) (curentChar, nextChar tf.Output, init *tf.Operation)
- func Offset(s *op.Scope, input tf.Output) (x, y tf.Output)
- func OneHot(s *op.Scope, indices tf.Output) (embeded tf.Output)
- func ReadText(s *op.Scope, fileName string) (indices tf.Output)
- func Split(s *op.Scope, data tf.Output, seqLen, numSeq int64) (seqs tf.Output)
- func ToCharByte(s *op.Scope, oneHot tf.Output) (charByte tf.Output)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NextSeqBatch ¶
func NextSeqBatch(s *op.Scope, fileName string, seqLen, batchSize, numSeqs int64, seed int64) (curentChar, nextChar tf.Output, init *tf.Operation)
NextSeqBatch returns a pair of the curent char and the next char
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.