pub enum TrainingBackend {
Cuda,
Rocm,
Metal,
Cpu,
Unknown,
}Variants§
Trait Implementations§
Source§impl Clone for TrainingBackend
impl Clone for TrainingBackend
Source§fn clone(&self) -> TrainingBackend
fn clone(&self) -> TrainingBackend
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrainingBackend
impl Debug for TrainingBackend
Source§impl<'de> Deserialize<'de> for TrainingBackend
impl<'de> Deserialize<'de> for TrainingBackend
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TrainingBackend
impl PartialEq for TrainingBackend
Source§impl Serialize for TrainingBackend
impl Serialize for TrainingBackend
impl Copy for TrainingBackend
impl Eq for TrainingBackend
impl StructuralPartialEq for TrainingBackend
Auto Trait Implementations§
impl Freeze for TrainingBackend
impl RefUnwindSafe for TrainingBackend
impl Send for TrainingBackend
impl Sync for TrainingBackend
impl Unpin for TrainingBackend
impl UnsafeUnpin for TrainingBackend
impl UnwindSafe for TrainingBackend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more