MLCTensor.CopyDataFromDeviceMemory(IntPtr, UIntPtr, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("copyDataFromDeviceMemoryToBytes:length:synchronizeWithDevice:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool CopyDataFromDeviceMemory(IntPtr bytes, UIntPtr length, bool synchronizeWithDevice);
[<Foundation.Export("copyDataFromDeviceMemoryToBytes:length:synchronizeWithDevice:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CopyDataFromDeviceMemory : nativeint * unativeint * bool -> bool
override this.CopyDataFromDeviceMemory : nativeint * unativeint * bool -> bool
Parameters
- bytes
-
IntPtr
nativeint
- length
-
UIntPtr
unativeint
- synchronizeWithDevice
- Boolean
Returns
- Attributes