Interface IVars | Barracuda | 1.0.4
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IVars

    Interfaces for variables

    Inherited Members
    IDisposable.Dispose()
    Namespace: Unity.Barracuda
    Syntax
    public interface IVars : IDisposable

    Methods

    GatherInputs(Layer)

    Declaration
    Tensor[] GatherInputs(Layer forLayer)
    Parameters
    Type Name Description
    Layer forLayer
    Returns
    Type Description
    Tensor[]

    GetAllocator()

    Declaration
    ITensorAllocator GetAllocator()
    Returns
    Type Description
    ITensorAllocator

    PeekConstants(String)

    Declaration
    Tensor[] PeekConstants(string layerName)
    Parameters
    Type Name Description
    String layerName
    Returns
    Type Description
    Tensor[]

    PeekOutput(String)

    Declaration
    Tensor PeekOutput(string name)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    Tensor

    PrepareStorage(Layer)

    Declaration
    void PrepareStorage(Layer forLayer)
    Parameters
    Type Name Description
    Layer forLayer

    PrepareStorage(Model, IOps, IDictionary<String, TensorShape>)

    Declaration
    void PrepareStorage(Model model, IOps optionalOpsToPrepareTensors = null, IDictionary<string, TensorShape> optionalInputShapes = null)
    Parameters
    Type Name Description
    Model model
    IOps optionalOpsToPrepareTensors
    IDictionary<String, TensorShape> optionalInputShapes

    SetInput(String, Tensor)

    Declaration
    void SetInput(string name, Tensor x)
    Parameters
    Type Name Description
    String name
    Tensor x

    Store(Layer, Tensor)

    Declaration
    void Store(Layer fromLayer, Tensor result)
    Parameters
    Type Name Description
    Layer fromLayer
    Tensor result
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023