Interface IVars | Barracuda | 1.0.4
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 20 October 2020