Class DeprecatedTensorExtensions
Inheritance
DeprecatedTensorExtensions
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
PinToDeviceAndDownloadFromIt(Tensor, ITensorData)
Declaration
[Obsolete("Use AttachToDevice instead.", false)]
public static void PinToDeviceAndDownloadFromIt(this Tensor self, ITensorData onDevice)
Parameters
PinToDeviceAndUploadToIt(Tensor, ITensorData, Boolean)
Declaration
[Obsolete("Use UploadToDevice instead.", false)]
public static void PinToDeviceAndUploadToIt(this Tensor self, ITensorData onDevice, bool forceInvalidateCache = true)
Parameters
Unpin(Tensor, Boolean)
Declaration
[Obsolete("Use DetachFromDevice instead.", false)]
public static ITensorData Unpin(this Tensor self, bool disposeUnpinned = true)
Parameters
Returns