pub unsafe trait MLComputeDeviceProtocol: NSObjectProtocol { }Available on crate feature
MLComputeDeviceProtocol only.Expand description
Protocol for representing a compute device. The represented device is capable of running machine learning computations and other tasks like analysis and processing of images, sound, etc.
See also Apple’s documentation
Trait Implementations§
Source§impl ProtocolType for dyn MLComputeDeviceProtocol
impl ProtocolType for dyn MLComputeDeviceProtocol
impl<T> ImplementedBy<T> for dyn MLComputeDeviceProtocol
Implementations on Foreign Types§
impl<T> MLComputeDeviceProtocol for ProtocolObject<T>where
T: ?Sized + MLComputeDeviceProtocol,
Implementors§
impl MLComputeDeviceProtocol for MLCPUComputeDevice
Available on crate feature
MLCPUComputeDevice only.impl MLComputeDeviceProtocol for MLGPUComputeDevice
Available on crate feature
MLGPUComputeDevice only.impl MLComputeDeviceProtocol for MLNeuralEngineComputeDevice
Available on crate feature
MLNeuralEngineComputeDevice only.