sut

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: NCSA Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SUT

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

func NewSUT

func NewSUT(ctx context.Context, backendName string, modelPath string,
	useGPU bool, GPUID int, traceLevel string, batchSize int) (*SUT, error)

NewSUT ...

func (*SUT) Close

func (s *SUT) Close()

func (*SUT) GetModelManifest

func (s *SUT) GetModelManifest() (dl.ModelManifest, error)

func (*SUT) GetPreprocessMethod

func (s *SUT) GetPreprocessMethod() (string, error)

func (*SUT) ProcessQuery

func (s *SUT) ProcessQuery(ctx context.Context, data map[int]interface{}, sampleList []int) string

Jump to

Keyboard shortcuts

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