Interpreter Methods |
The Interpreter type exposes the following members.
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)
|