docs.unity3d.com
    Show / Hide Table of Contents

    Interface IDependableTensorData

    Interface for device dependent representation of Tensor data that provides a read fence for scheduling data consumer job.

    Inherited Members
    ITensorData.Reserve(Int32)
    ITensorData.Upload(Single[], TensorShape, Int32)
    ITensorData.ScheduleAsyncDownload(Int32)
    ITensorData.Download(TensorShape)
    ITensorData.SharedAccess(Int32)
    ITensorData.maxCapacity
    Namespace: Unity.Barracuda
    Syntax
    public interface IDependableTensorData : ITensorData, IDisposable

    Properties

    fence

    Returns job handle that can be used as dependsOn argument when scheduling data consumer job. Consumer job will start execution once Tensor data is ready for read access.

    Declaration
    Jobs.JobHandle fence { get; }
    Property Value
    Type Description
    Jobs.JobHandle

    Extension Methods

    DeprecatedTensorDataExtensions.GetMaxCount(ITensorData)
    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