tf

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: BSD-3-Clause Imports: 9 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(modelPath string, modelFile string, model *models.Model) (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