predict

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2018 License: NCSA Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New ...

Types

type ImagePredictor

type ImagePredictor struct {
	common.ImagePredictor
	// contains filtered or unexported fields
}

ImagePredictor ...

func (*ImagePredictor) Close

func (p *ImagePredictor) Close() error

Close ...

func (*ImagePredictor) Download

func (p *ImagePredictor) Download(ctx context.Context, model dlframework.ModelManifest, opts ...options.Option) error

Download ...

func (*ImagePredictor) GetPreprocessOptions added in v0.2.22

func (p *ImagePredictor) GetPreprocessOptions(ctx context.Context) (common.PreprocessOptions, error)

GetPreprocessOptions ...

func (*ImagePredictor) Load added in v0.2.15

Load ...

func (*ImagePredictor) Predict

func (p *ImagePredictor) Predict(ctx context.Context, data [][]float32, opts ...options.Option) error

Predict ...

func (*ImagePredictor) ReadPredictedFeatures added in v0.3.0

func (p *ImagePredictor) ReadPredictedFeatures(ctx context.Context) ([]dlframework.Features, error)

ReadPredictedFeatures ...

func (*ImagePredictor) Reset added in v0.2.20

func (p *ImagePredictor) Reset(ctx context.Context) error

Reset ...

Jump to

Keyboard shortcuts

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