Interpreter Class |
Namespace: Emgu.TF.Lite
The Interpreter type exposes the following members.
Name | Description | |
---|---|---|
![]() | Interpreter |
Create a new tensorflow lite interpreter.
|
![]() | Interpreter(FlatBufferModel, IOpResolver) |
Create an interpreter from a flatbuffer model
|
Name | Description | |
---|---|---|
![]() | Disposed |
Returns true if the object has been disposed.
(Inherited from DisposableObject.) |
![]() | 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.
|
![]() | Build |
Build the interpreter from a flatbuffer model
|
![]() | Dispose |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject |
Release all the unmanaged memory associated with this interpreter
(Overrides DisposableObjectDisposeObject.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetTensor |
Get a tensor data structure.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Invoke |
Invoke the interpreter (run the whole graph in dependency order).
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ModifyGraphWithDelegate |
Allow a delegate to look at the graph and modify the graph to handle
parts of the graph themselves. After this is called, the graph may
contain new nodes that replace 1 more nodes.
WARNING: This is an experimental API and subject to change.
|
![]() | 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.) |
![]() | ResizeInputTensor |
Resize the input tensor
|
![]() | SetNumThreads |
Set the number of threads available to the interpreter.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | _ptr |
A pointer to the unmanaged object
(Inherited from UnmanagedObject.) |