docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DetachFromDevice

    DetachFromDevice(bool)

    Synchronizes the tensor data with the data on the device, then remove the tensor from the device.

    Declaration
    public ITensorData DetachFromDevice(bool disposeDeviceData = true)
    Parameters
    Type Name Description
    bool disposeDeviceData

    Whether to free the space on device after detaching.

    Returns
    Type Description
    ITensorData

    The detached tensor data.

    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)