public final class TensorFlowNativeModel<T extends Output<T>> extends TensorFlowModel<T>
This model's serialized form stores the weights and is entirely self contained.
If you wish to convert it into a model which uses checkpoints then call
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.
batchSize, closed, featureConverter, modelGraph, outputConverter, outputName, session
|Modifier and Type||Method and Description|
Copies a model, replacing it's provenance and name with the supplied values.
close, exportModel, getBatchSize, getExcuse, getOutputName, getTopFeatures, innerPredict, predict, setBatchSize
copy, generatesProbabilities, getExcuses, getFeatureIDMap, getName, getOutputIDInfo, getProvenance, predict, predict, setName, toString, validate
protected TensorFlowNativeModel<T> copy(String newName, ModelProvenance newProvenance)
Used to provide the provenance removal functionality.
public TensorFlowCheckpointModel<T> convertToCheckpointModel(String checkpointDirectory, String checkpointName)
TensorFlowCheckpointModelversion of this model.
checkpointDirectory- The directory to write the checkpoint to.
checkpointName- The name of the checkpoint files.
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.