pub(crate) use crate::device::Device;
pub(crate) use crate::errors::{Result, TrustformersError};
pub(crate) use crate::tensor::Tensor;
#[cfg(all(target_os = "macos", feature = "metal"))]
pub(crate) use metal::{
foreign_types::ForeignType, Buffer, CommandQueue, CompileOptions, Device as MetalDevice,
MTLResourceOptions,
};
#[cfg(all(target_os = "macos", feature = "metal"))]
pub(crate) use std::collections::HashMap;
#[cfg(all(target_os = "macos", feature = "metal"))]
pub(crate) use std::mem;
#[cfg(all(target_os = "macos", feature = "metal"))]
pub(crate) use std::sync::Arc;
#[cfg(all(target_os = "macos", feature = "metal"))]
pub(crate) use scirs2_core::gpu::backends::MPSOperations;
#[cfg(all(target_os = "macos", feature = "metal"))]
pub(crate) use objc2::rc::Retained;
#[cfg(all(target_os = "macos", feature = "metal"))]
pub(crate) use objc2::runtime::ProtocolObject;
#[cfg(all(target_os = "macos", feature = "metal"))]
pub(crate) use objc2_metal::MTLBuffer as ObjC2Buffer;