tf

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Example

func Example(features map[string]interface{}) (*tensorflow.Example, error)

Types

type TensorflowModel

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

TensorflowModel is

func (*TensorflowModel) FrameworkTyp

func (a *TensorflowModel) FrameworkTyp() string

func (*TensorflowModel) Load

func (a *TensorflowModel) Load(model *models.Model, flags models.ModelFlags) (err error)

Load implements the backend framework specifics for loading a saved model

func (*TensorflowModel) Run

func (i *TensorflowModel) Run(model *models.Model) (out map[string]interface{}, err error)

Run is used to execute a Tensorflow model with the model input data

Jump to

Keyboard shortcuts

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