Documentation ¶
Overview ¶
package mnist handles the mnist data set
package mnist handles the mnist data set
Index ¶
Constants ¶
View Source
const ( // Width of the input tensor / picture Width = 28 // Height of the input tensor / picture Height = 28 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MnistDataset ¶
type MnistDataset struct {
// contains filtered or unexported fields
}
MnistDataset is the object that describes the mnist dataset.
func (*MnistDataset) Epochs ¶
func (fd *MnistDataset) Epochs() int
Epochs returns the number of epochs that should run during training.
func (*MnistDataset) TestRatio ¶
func (fd *MnistDataset) TestRatio() float64
TestRatio returns how much can of the dataset can be used for validating the network.
Click to show internal directories.
Click to hide internal directories.