1 2 3 4 5 6 7 8 9
pub use burn_std::device::*; /// Device trait for all burn backend devices. pub trait DeviceOps: Clone + Default + PartialEq + Send + Sync + core::fmt::Debug + Device { /// Returns the [device id](DeviceId). fn id(&self) -> DeviceId { self.to_id() } }