Class ComputeVarsWithSharedModel | Barracuda | 0.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class ComputeVarsWithSharedModel

    Inheritance
    Object
    GenericVars
    GenericVarsWithReuse
    GenericVarsWithPreallocation
    DefaultVars
    ComputeVarsWithSharedModel
    Inherited Members
    GenericVarsWithPreallocation.PrepareStorage(Model, IOps, IDictionary<String, TensorShape>)
    GenericVarsWithPreallocation.GetAllocator()
    GenericVarsWithPreallocation.IsTensorOwnedByInternalAllocator(Tensor)
    GenericVarsWithPreallocation.Alloc(TensorShape)
    GenericVarsWithPreallocation.Alloc(TensorShape, ITensorData)
    GenericVarsWithPreallocation.Repin(Tensor, ITensorData, ITensorData, Boolean)
    GenericVarsWithPreallocation.Cast(Tensor, ITensorData, ITensorData)
    GenericVarsWithPreallocation.Release(Tensor, Boolean)
    GenericVarsWithPreallocation.WaiveOwnership(Tensor)
    GenericVarsWithPreallocation.Reset(Boolean)
    GenericVarsWithPreallocation.busyBytes
    GenericVarsWithPreallocation.freeBytes
    GenericVarsWithPreallocation.totalBytes
    GenericVarsWithPreallocation.ToString()
    GenericVarsWithReuse.layerRequiresStorage
    GenericVarsWithReuse.temporary
    GenericVarsWithReuse.ReleaseTemporary()
    GenericVarsWithReuse.PrepareStorage(Layer)
    GenericVarsWithReuse.Store(Layer, Tensor)
    GenericVarsWithReuse.PeekOutput(String)
    GenericVars.m_ModelTensors
    GenericVars.m_InputTensorsByLayer
    GenericVars.m_StringCache
    GenericVars.ValidateGlobalInputs(Model, IDictionary<String, TensorShape>)
    GenericVars.SetInput(String, Tensor)
    GenericVars.GatherInputs(Layer)
    GenericVars.PeekConstants(String)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Barracuda
    Syntax
    public class ComputeVarsWithSharedModel : DefaultVars, IVars, ITensorAllocator, IDisposable

    Methods

    CreateComputeBufferForModelTensors(Layer, out Int64)

    Declaration
    protected ComputeBuffer CreateComputeBufferForModelTensors(Layer layer, out long offsetIntoModelWeights)
    Parameters
    Type Name Description
    Layer layer
    Int64 offsetIntoModelWeights
    Returns
    Type Description
    ComputeBuffer

    Dispose()

    Declaration
    public override void Dispose()
    Overrides
    GenericVars.Dispose()

    PrepareLayerInputTensors(Model, Layer, IOps)

    Declaration
    protected override Tensor[] PrepareLayerInputTensors(Model model, Layer layer, IOps ops)
    Parameters
    Type Name Description
    Model model
    Layer layer
    IOps ops
    Returns
    Type Description
    Tensor[]
    Overrides
    GenericVars.PrepareLayerInputTensors(Model, Layer, IOps)
    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