def get_all_compute_devices(
        cls,
    ) -> _List["MLComputeDevice"]:
        """
        Returns the list of all of the compute devices that are accessible.

        Returns
        -------
        List[MLComputeDevice]
            The accessible compute devices.

        Examples
        --------
        .. sourcecode:: python

            compute_devices = (
                coremltools.models.compute_device.MLComputeDevice.get_all_compute_devices()
            )
        
        """
        return _MLModelProxy.get_all_compute_devices()

        Returns the list of all of the compute devices that are accessible.

        Returns
        -------
        List[MLComputeDevice]
            The accessible compute devices.

        Examples
        --------
        .. sourcecode:: python

            compute_devices = (
                coremltools.models.compute_device.MLComputeDevice.get_all_compute_devices()
            )
        
        
coremltools/models/compute_device.py