public class TensorFlow extends Model
Modifier and Type | Class and Description |
---|---|
class |
TensorFlow.Options |
Modifier and Type | Field and Description |
---|---|
TensorFlow.Options |
options |
class_names, dirPath, input_bytes, input_dim, input_sr, input_type, isTrained, modelFileName, modelOptionFileName, n_classes, select_dimensions
_evchannel_in, _evchannel_out, _isSetup, _name, _safeToKill, _terminate, threadPriority
Constructor and Description |
---|
TensorFlow() |
Modifier and Type | Method and Description |
---|---|
protected float[] |
forward(Stream stream)
forward data to the model for classification/inference
|
Model.Options |
getOptions() |
protected void |
loadModel(java.io.File file)
Load model from file
|
protected void |
loadOption(java.io.File file)
Load model options from file
|
getClassNames, getInputDim, getInputSr, getInputType, getName, getNumClasses, isTrained, load, run, save, setClassNames, setNumClasses, setup, setup, train, validateInput, waitUntilReady
clear, close, forcekill, getComponentName, getEventChannelOut, isSetup, reset
public TensorFlow.Options options
public Model.Options getOptions()
getOptions
in class Model
protected float[] forward(Stream stream)
Model
stream
- Streamprotected void loadOption(java.io.File file)
Model
protected void loadModel(java.io.File file)
Model