Interface IVars | Barracuda | 0.5.0-preview
docs.unity.cn
    Show / Hide Table of Contents

    Interface IVars

    Interfaces for variables

    Namespace: 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

    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