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.
|
![]() | 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.) |