steps

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: NCSA Imports: 38 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCastToFloat32Slice

func NewCastToFloat32Slice() pipeline.Step

func NewCropDimension added in v0.3.11

func NewCropDimension(options predictor.PreprocessOptions) pipeline.Step

func NewCropImage added in v0.3.0

func NewCropImage(options predictor.PreprocessOptions) pipeline.Step

func NewForEach

func NewForEach(f func(in interface{}) interface{}) pipeline.Step

func NewPredict added in v0.3.0

func NewPredict(predictor predictor.Predictor) pipeline.Step

func NewPredictGeneral added in v1.2.0

func NewPredictGeneral(predictor predictor.Predictor, methods string) pipeline.Step

func NewPreprocessGeneral added in v1.2.0

func NewPreprocessGeneral(options predictor.PreprocessOptions, methods string) pipeline.Step

func NewPreprocessImage

func NewPreprocessImage(options predictor.PreprocessOptions) pipeline.Step

func NewPreprocessImageTensor added in v0.3.0

func NewPreprocessImageTensor(options predictor.PreprocessOptions) pipeline.Step

func NewReadImage

func NewReadImage(options predictor.PreprocessOptions) pipeline.Step

func NewReadURL

func NewReadURL() pipeline.Step

func NewSpread

func NewSpread() pipeline.Step

Types

type IDWrapper

type IDWrapper struct {
	ID string
	// contains filtered or unexported fields
}

func (IDWrapper) GetData

func (w IDWrapper) GetData() interface{}

func (IDWrapper) GetID

func (w IDWrapper) GetID() string

type IDer

type IDer interface {
	GetID() string
	GetData() interface{}
}

func NewIDWrapper

func NewIDWrapper(id string, data interface{}) IDer

Jump to

Keyboard shortcuts

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