package
Version:
v0.10.2
Opens a new window with list of versions in this module.
Published: Jun 2, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
This package contains primitives to read the mnist dataset as exposed on [Yann LeCun's website](
It exposes a single Load
method that creates tensors from the data sets.
Take a look at the convnet directoy for a neural net implementation using the mnist dataset.
more info on the Gorgonia website: https://gorgonia.org/tutorials/mnist/
Documentation
¶
package mnist handles the mnist data set
Load loads the mnist data into two tensors
typ can be "train", "test"
loc represents where the mnist files are held
Label is a digit label in 0 to 9
Image holds the pixel intensities of an image.
255 is foreground (black), 0 is background (white).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.