inference

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActivity

func NewActivity(metadata *activity.Metadata) activity.Activity

NewActivity creates a new InferenceActivity

Types

type InferenceActivity

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

InferenceActivity is an Activity that is used to invoke a a ML Model using flogo-ml framework

func (*InferenceActivity) Eval

func (a *InferenceActivity) Eval(context activity.Context) (done bool, err error)

Eval implements api.Activity.Eval - Runs an ML model

func (*InferenceActivity) Metadata

func (a *InferenceActivity) Metadata() *activity.Metadata

Metadata returns the activity's metadata

Directories

Path Synopsis
tf
Package tensorflow_serving is a generated protocol buffer package.
Package tensorflow_serving is a generated protocol buffer package.
tensorflow/core/example
Package tensorflow is a generated protocol buffer package.
Package tensorflow is a generated protocol buffer package.
tensorflow/core/framework
Package tensorflow is a generated protocol buffer package.
Package tensorflow is a generated protocol buffer package.
tensorflow/core/protobuf
Package tensorflow is a generated protocol buffer package.
Package tensorflow is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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