Class GenericVarsWithReuse | Barracuda | 0.5.0-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class GenericVarsWithReuse

    Inheritance
    Object
    GenericVars
    GenericVarsWithReuse
    GenericVarsWithPreallocation
    Inherited Members
    GenericVars.m_ModelTensors
    GenericVars.m_InputTensorsByLayer
    GenericVars.m_StringCache
    GenericVars.Dispose()
    GenericVars.GetAllocator()
    GenericVars.ValidateGlobalInputs(Model, IDictionary<String, TensorShape>)
    GenericVars.PrepareLayerInputTensors(Model, Layer, IOps)
    GenericVars.SetInput(String, Tensor)
    GenericVars.GatherInputs(Layer)
    Namespace: Barracuda
    Syntax
    public class GenericVarsWithReuse : GenericVars, IVars, IDisposable

    Properties

    layerRequiresStorage

    Declaration
    protected bool layerRequiresStorage { get; }
    Property Value
    Type Description
    Boolean

    temporary

    Declaration
    protected Tensor temporary { get; }
    Property Value
    Type Description
    Tensor

    Methods

    PeekOutput(String)

    Declaration
    public override Tensor PeekOutput(string name)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    Tensor
    Overrides
    GenericVars.PeekOutput(String)

    PrepareStorage(Layer)

    Declaration
    public override void PrepareStorage(Layer forLayer)
    Parameters
    Type Name Description
    Layer forLayer
    Overrides
    GenericVars.PrepareStorage(Layer)

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

    Declaration
    public override void PrepareStorage(Model model, IOps ops, IDictionary<string, TensorShape> inputShapes)
    Parameters
    Type Name Description
    Model model
    IOps ops
    IDictionary<String, TensorShape> inputShapes
    Overrides
    GenericVars.PrepareStorage(Model, IOps, IDictionary<String, TensorShape>)

    ReleaseTemporary()

    Declaration
    protected void ReleaseTemporary()

    Store(Layer, Tensor)

    Declaration
    public override void Store(Layer fromLayer, Tensor result)
    Parameters
    Type Name Description
    Layer fromLayer
    Tensor result
    Overrides
    GenericVars.Store(Layer, Tensor)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX