docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IVars

    An interface that provides methods for storing variables.

    Inherited Members
    IDisposable.Dispose()
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)