Interface IVars
An interface that provides methods for storing variables.
Inherited Members
Namespace: Unity.Sentis
Assembly: solution.dll
Syntax
public interface IVars : IDisposable
Methods
| Name | Description |
|---|---|
| DisposeAfterLayer(Layer) | Disposes storage that can be deleted after executing a given layer. |
| GatherInputs(Layer) | Gathers the input tensors for a given layer. |
| GetAllocator() | Returns the current allocator. |
| PeekOutput(string) | Peeks the output tensor of a given name. |
| PrepareStorage(Layer) | Prepares storage for a given layer. |
| PrepareStorage(Model, IBackend, IDictionary<string, TensorShape>, bool) | Prepares storage for a given model. |
| SetInput(string, Tensor) | Sets a given input with a tensor. |
| Store(string, Tensor) | Stores the result of execution for a given tensor name. |
| Store(Layer, Tensor) | Stores the result of execution for a given layer. |