gen

package
v0.0.0-...-f2ae4d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NumChars = 28 // 26 lower case chars plus begin and end chars.
)

Variables

This section is empty.

Functions

func GetRecords

func GetRecords(lines [][]string, batchSize int) ([][]*nn.Value, [][]*nn.Value)

Returns the inputs and labels of the lines.

func ReadNames

func ReadNames(filename string) [][]string

Reads names from a file and return all lines as a slice. Each line is a slice of string each representing a word.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL