Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package MNIST is the 60000 + 10000 handwritten digits dataset
Index ¶
Constants ¶
      View Source
      
  const ImgSize = 28
    original
      View Source
      
  const SmallImgSize = 13
    downscaled
Variables ¶
This section is empty.
Functions ¶
func New ¶ added in v0.1.0
func New() (TrainSet []Input, InferSet []Input, SmallTrainSet []SmallInput, SmallInferSet []SmallInput, err error)
Types ¶
type Input ¶
Input is the type of input image
type SmallInput ¶
type SmallInput struct {
	Image [SmallImgSize * SmallImgSize]byte
	Label byte
}
    SmallInput is the type of small input image
func (*SmallInput) Feature ¶
func (i *SmallInput) Feature(n int) uint32
Feature extracts the n-th feature from small input
func (*SmallInput) Output ¶ added in v0.1.0
func (i *SmallInput) Output() uint16
func (*SmallInput) Parity ¶ added in v0.0.11
func (i *SmallInput) Parity() uint16
 Click to show internal directories. 
   Click to hide internal directories.