Versions in this module Expand all Collapse all v0 v0.4.0 Nov 19, 2018 Changes in this version type Predictor + func (p *Predictor) ReadPredictionOutput(ctx context.Context) ([]float32, error) v0.3.20 Jul 16, 2018 Changes in this version + var BuildDate = "undefined" + var GitCommit = "undefined" + var Version = "0.3.20" + type Prediction struct + Index int + Probability float32 + type Predictions []Prediction + func (p Predictions) Len() int + func (p Predictions) Less(i, j int) bool + func (p Predictions) Sort() + func (p Predictions) Swap(i, j int) + type Predictor struct + func New(opts0 ...options.Option) (*Predictor, error) + func (p *Predictor) DisableProfiling() error + func (p *Predictor) EndProfiling() error + func (p *Predictor) Predict(input []float32) (Predictions, error) + func (p *Predictor) Predict(inputLayerName0 string, outputLayerName0 string, input []float32, ...) (Predictions, error) + func (p *Predictor) ReadProfile() (string, error) + func (p *Predictor) StartProfiling(name, metadata string) error + func (p Predictor) Close()