pub unsafe extern "C" fn M_getDeviceTypeFromSpec(
spec: *const M_TensorSpec,
) -> M_DeviceTypeExpand description
Gets the device type from a tensor specification.
@param spec The tensor spec.
@return The device type (CPU or GPU).
pub unsafe extern "C" fn M_getDeviceTypeFromSpec(
spec: *const M_TensorSpec,
) -> M_DeviceTypeGets the device type from a tensor specification.
@param spec The tensor spec.
@return The device type (CPU or GPU).