predictor

package
v0.0.0-...-907f49e Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OutputSize = 1000
	BatchSize  = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Predictor

type Predictor struct {
	// contains filtered or unexported fields
}

func NewPredictor

func NewPredictor(modelFile string) (*Predictor, error)

func (*Predictor) DeletePredictor

func (p *Predictor) DeletePredictor()

func (*Predictor) GetPrediction

func (p *Predictor) GetPrediction() ([]float32, error)

func (*Predictor) PredictProba

func (p *Predictor) PredictProba(img image.Image) error

Jump to

Keyboard shortcuts

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