Class DeprecatedTensorExtensions | Barracuda | 1.0.4
docs.unity3d.com
    Show / Hide Table of Contents

    Class DeprecatedTensorExtensions

    Inheritance
    Object
    DeprecatedTensorExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Barracuda
    Syntax
    public static class DeprecatedTensorExtensions

    Methods

    CastOnDevice(Tensor, ITensorData)

    Declaration
    [Obsolete("Use AttachToDevice instead.", false)]
    public static void CastOnDevice(this Tensor self, ITensorData onDevice)
    Parameters
    Type Name Description
    Tensor self
    ITensorData onDevice

    PinToDeviceAndDownloadFromIt(Tensor, ITensorData)

    Declaration
    [Obsolete("Use AttachToDevice instead.", false)]
    public static void PinToDeviceAndDownloadFromIt(this Tensor self, ITensorData onDevice)
    Parameters
    Type Name Description
    Tensor self
    ITensorData onDevice

    PinToDeviceAndUploadToIt(Tensor, ITensorData, Boolean)

    Declaration
    [Obsolete("Use UploadToDevice instead.", false)]
    public static void PinToDeviceAndUploadToIt(this Tensor self, ITensorData onDevice, bool forceInvalidateCache = true)
    Parameters
    Type Name Description
    Tensor self
    ITensorData onDevice
    Boolean forceInvalidateCache

    Unpin(Tensor, Boolean)

    Declaration
    [Obsolete("Use DetachFromDevice instead.", false)]
    public static ITensorData Unpin(this Tensor self, bool disposeUnpinned = true)
    Parameters
    Type Name Description
    Tensor self
    Boolean disposeUnpinned
    Returns
    Type Description
    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