public static class TensorflowModel.Loader extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TensorflowModel.Loader.DType
tensor data types.
|
| Constructor and Description |
|---|
Loader()
initializes a new loader instance.
|
| Modifier and Type | Method and Description |
|---|---|
TensorflowModel |
load()
loads the tensorflow model using the attached configuration.
|
TensorflowModel.Loader |
reset()
resets the loader to the default state.
|
TensorflowModel.Loader |
setPath(String value)
sets the file system path to the TF-Lite model.
|
TensorflowModel.Loader |
setStatePosition(int position)
sets the position of the model's state tensor in its input array.
|
public TensorflowModel.Loader reset()
public TensorflowModel.Loader setPath(String value)
value - value to assignpublic TensorflowModel.Loader setStatePosition(int position)
position - the position of the model's state tensor.public TensorflowModel load()
Copyright © 2021. All rights reserved.