//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
/// MLComputeDevice.
///
/// MLModel (MLComputeDevice)
///
/// Class with utilties for getting the available compute devices.
#[cfg(feature = "MLModel")]
impl MLModel {
extern_methods!(
#[cfg(feature = "MLComputeDeviceProtocol")]
/// The list of available compute devices for CoreML.
///
/// Use the method to get the list of compute devices that MLModel's prediction can use.
///
/// Some compute devices on the hardware are exclusive to the domain ML frameworks such as Vision and SoundAnalysis and
/// not available to CoreML. See also `MLComputeDevice.allComputeDevices`.
#[unsafe(method(availableComputeDevices))]
#[unsafe(method_family = none)]
pub unsafe fn availableComputeDevices(
) -> Retained<NSArray<ProtocolObject<dyn MLComputeDeviceProtocol>>>;
);
}