Interpreter Class |
Namespace: Emgu.TF.Lite
The Interpreter type exposes the following members.
Name | Description | |
---|---|---|
![]() | Interpreter |
Create an interpreter from a flatbuffer model
|
Name | Description | |
---|---|---|
![]() | InputIndices |
Get the list of tensor index of the inputs tensors.
|
![]() | Inputs |
Get an array of all the input tensors
|
![]() | NodeSize |
Get the number of ops in the model.
|
![]() | OutputIndices |
Get the list of tensor index of the outputs tensors.
|
![]() | Outputs |
Get an array of all the output tensors
|
![]() | Ptr |
Pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
![]() | TensorSize |
Get the number of tensors in the model.
|
Name | Description | |
---|---|---|
![]() | AllocateTensors |
Update allocations for all tensors. This will redim dependent tensors using
the input tensor dimensionality as given. This is relatively expensive.
If you know that your sizes are not changing, you need not call this.
|
![]() | Dispose |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject |
Release all the unmanaged memory associated with this interpreter
(Overrides DisposableObjectDisposeObject.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetTensor |
Get a tensor data structure.
|
![]() | GetType | (Inherited from Object.) |
![]() | Invoke |
Invoke the interpreter (run the whole graph in dependency order).
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ReleaseManagedResources |
Release the managed resources. This function will be called during the disposal of the current object.
override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.) |
![]() | SetNumThreads |
Set the number of threads available to the interpreter.
|
![]() | ToString | (Inherited from Object.) |
![]() | UseNNAPI |
Enable or disable the NN API (Android Neural Network API)
|
Name | Description | |
---|---|---|
![]() | _ptr |
A pointer to the unmanaged object
(Inherited from UnmanagedObject.) |