Documentation
¶
Index ¶
- Variables
- type Prediction
- type Predictions
- type Predictor
- func (p Predictor) Close()
- func (p *Predictor) DisableProfiling() error
- func (p *Predictor) EndProfiling() 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
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "0.3.20" BuildDate = "undefined" GitCommit = "undefined" )
Functions ¶
This section is empty.
Types ¶
type Prediction ¶
type Predictions ¶
type Predictions []Prediction
func (Predictions) Len ¶
func (p Predictions) Len() int
Len is the number of elements in the collection.
func (Predictions) Less ¶
func (p Predictions) Less(i, j int) bool
Less reports whether the element with index i should sort before the element with index j.
func (Predictions) Sort ¶
func (p Predictions) Sort()
func (Predictions) Swap ¶
func (p Predictions) Swap(i, j int)
Swap swaps the elements with indexes i and j.
type Predictor ¶
type Predictor struct {
// contains filtered or unexported fields
}
func (*Predictor) DisableProfiling ¶
func (*Predictor) EndProfiling ¶
func (*Predictor) ReadProfile ¶
func (*Predictor) StartProfiling ¶
Click to show internal directories.
Click to hide internal directories.