inference

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: GPL-3.0, GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inference

type Inference interface {
	VerifyModel(modelInfoHash string) error
	VerifyInput(inputInfoHash string) error

	// Infer procedure may be blocked with I/O, infernet, network, etc.
	// It should be designed with returning result to make thread be killed internal possible
	InferByInfoHash(modelInfoHash, inputInfoHash string) (uint64, error)
	InferByInputContent(modelInfoHash string, inputContent []byte) (uint64, error)

	RemoteInferByInfoHash(modelInfoHash, inputInfoHash, uri string) (uint64, error)
	RemoteInferByInputContent(modelInfoHash, uri string, inputContent []byte) (uint64, error)
}

Inference Engine Interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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