Class TensorflowModel<T extends Output<T>>

java.lang.Object
org.tribuo.Model<T>
org.tribuo.interop.tensorflow.TensorflowModel<T>
All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.provenance.Provenancable<ModelProvenance>, Closeable, Serializable, AutoCloseable

public class TensorflowModel<T extends Output<T>> extends Model<T> implements Closeable
This model encapsulates a simple model with a single input tensor (labelled INPUT_NAME), and produces a single output tensor (labelled OUTPUT_NAME).

It accepts an ExampleTransformer that converts an example's features into a Tensor, and an OutputTransformer that converts a Tensor into a Prediction.

The model's serialVersionUID is set to the major Tensorflow version number times 100.

N.B. Tensorflow support is experimental and may change without a major version bump.

See Also: