docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ConvertToComputeTensorData

    ConvertToComputeTensorData(TensorShape)

    Implement this method to convert to ComputeTensorData.

    Declaration
    public ComputeTensorData ConvertToComputeTensorData(TensorShape shape)
    Parameters
    Type Name Description
    TensorShape shape

    The shape of the tensor using the tensor data.

    Returns
    Type Description
    ComputeTensorData

    Converted ComputeTensorData.

    Implements
    IConvertibleToComputeTensorData.ConvertToComputeTensorData(TensorShape)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)