Documentation
¶
Overview ¶
Package cifar is a small package that decodes cifar bin files
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cifar100Image ¶
type Cifar100Image struct {
// contains filtered or unexported fields
}
Cifar100Image is used for the Cifar 100 image dataset
func Decode100 ¶
func Decode100(r io.Reader) ([]*Cifar100Image, error)
Decode100 decodes the CIFAR 100
func (*Cifar100Image) ColorModel ¶
ColorModel satisfies the image.Image interface
func (*Cifar100Image) Label ¶
func (cif *Cifar100Image) Label() (course, fine byte)
Label returns the course and fine bytes.
type Cifar10Image ¶
type Cifar10Image struct {
// contains filtered or unexported fields
}
Cifar10Image is a cifar 10 image
func Decode10 ¶
func Decode10(r io.Reader) ([]*Cifar10Image, error)
Decode10 decodes a cifar bin file
func (*Cifar10Image) ColorModel ¶
ColorModel satisfies the image.Image interface
Click to show internal directories.
Click to hide internal directories.