mnist

package
v0.0.0-...-8ed5a8e Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(imageFile, labelFile string, limit int) <-chan Data

Types

type Data

type Data struct {
	Image []byte
	Label uint8
}

func (Data) At

func (m Data) At(x, y int) color.Color

func (Data) Bounds

func (m Data) Bounds() image.Rectangle

func (Data) ColorModel

func (m Data) ColorModel() color.Model

func (Data) Save

func (m Data) Save(w io.Writer) error

func (Data) SaveToFile

func (m Data) SaveToFile(file string) (err error)

Directories

Path Synopsis
ann
cmd

Jump to

Keyboard shortcuts

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