Class BurstTensorData | Barracuda | 1.1.2-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class BurstTensorData

    Inheritance
    Object
    SharedArrayTensorData
    UnsafeArrayTensorData
    BurstTensorData
    Inherited Members
    SharedArrayTensorData.m_Array
    SharedArrayTensorData.m_Offset
    SharedArrayTensorData.m_Count
    SharedArrayTensorData.array
    SharedArrayTensorData.offset
    SharedArrayTensorData.count
    SharedArrayTensorData.maxCapacity
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Barracuda
    Syntax
    public class BurstTensorData : UnsafeArrayTensorData, IDependableTensorData, ITensorData, IDisposable

    Constructors

    BurstTensorData(Int32)

    Declaration
    public BurstTensorData(int count)
    Parameters
    Type Name Description
    Int32 count

    BurstTensorData(ArrayTensorData)

    Declaration
    public BurstTensorData(ArrayTensorData sharedArray)
    Parameters
    Type Name Description
    ArrayTensorData sharedArray

    BurstTensorData(SharedArrayTensorData)

    Declaration
    public BurstTensorData(SharedArrayTensorData sharedArray)
    Parameters
    Type Name Description
    SharedArrayTensorData sharedArray

    BurstTensorData(TensorShape)

    Declaration
    public BurstTensorData(TensorShape shape)
    Parameters
    Type Name Description
    TensorShape shape

    BurstTensorData(UnsafeArrayTensorData)

    Declaration
    public BurstTensorData(UnsafeArrayTensorData unsafeArray)
    Parameters
    Type Name Description
    UnsafeArrayTensorData unsafeArray

    Properties

    fence

    Declaration
    public JobHandle fence { get; set; }
    Property Value
    Type Description
    JobHandle
    Implements
    IDependableTensorData.fence

    reuse

    Declaration
    public JobHandle reuse { get; set; }
    Property Value
    Type Description
    JobHandle

    Methods

    Dispose()

    Declaration
    public override void Dispose()
    Overrides
    UnsafeArrayTensorData.Dispose()
    Implements
    IDisposable.Dispose()

    Download(TensorShape)

    Declaration
    public override float[] Download(TensorShape shape)
    Parameters
    Type Name Description
    TensorShape shape
    Returns
    Type Description
    Single[]
    Overrides
    UnsafeArrayTensorData.Download(TensorShape)
    Implements
    ITensorData.Download(TensorShape)

    Finalize()

    Declaration
    protected void Finalize()

    Reserve(Int32)

    Declaration
    public override void Reserve(int count)
    Parameters
    Type Name Description
    Int32 count
    Overrides
    UnsafeArrayTensorData.Reserve(Int32)
    Implements
    ITensorData.Reserve(Int32)

    ScheduleAsyncDownload(Int32)

    Declaration
    public override bool ScheduleAsyncDownload(int count)
    Parameters
    Type Name Description
    Int32 count
    Returns
    Type Description
    Boolean
    Overrides
    SharedArrayTensorData.ScheduleAsyncDownload(Int32)
    Implements
    ITensorData.ScheduleAsyncDownload(Int32)

    SharedAccess(out Int32)

    Declaration
    public override float[] SharedAccess(out int offset)
    Parameters
    Type Name Description
    Int32 offset
    Returns
    Type Description
    Single[]
    Overrides
    SharedArrayTensorData.SharedAccess(out Int32)
    Implements
    ITensorData.SharedAccess(out Int32)

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    UnsafeArrayTensorData.ToString()

    Upload(Single[], TensorShape, Int32)

    Declaration
    public override void Upload(float[] data, TensorShape shape, int managedBufferStartIndex = 0)
    Parameters
    Type Name Description
    Single[] data
    TensorShape shape
    Int32 managedBufferStartIndex
    Overrides
    UnsafeArrayTensorData.Upload(Single[], TensorShape, Int32)
    Implements
    ITensorData.Upload(Single[], TensorShape, Int32)

    Extension Methods

    DeprecatedTensorDataExtensions.GetMaxCount(ITensorData)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 15 October 2020