tf

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrapper

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

Wrapper structure used to call TF grpc service

func NewWrapper

func NewWrapper(url string, name string, version int) (*Wrapper, error)

NewWrapper creates Wrapper

func (*Wrapper) Healthy

func (w *Wrapper) Healthy() error

Healthy return nil or error is TF model is not accesible

func (*Wrapper) Invoke

func (w *Wrapper) Invoke(nums []int32) ([]int32, error)

Invoke is main method

Jump to

Keyboard shortcuts

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