Enum burn_ndarray::NdArrayDevice
source · pub enum NdArrayDevice {
Cpu,
}Expand description
The device type for the ndarray backend.
Variants§
Cpu
The CPU device.
Trait Implementations§
source§impl Clone for NdArrayDevice
impl Clone for NdArrayDevice
source§fn clone(&self) -> NdArrayDevice
fn clone(&self) -> NdArrayDevice
Returns a copy 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 NdArrayDevice
impl Debug for NdArrayDevice
source§impl Default for NdArrayDevice
impl Default for NdArrayDevice
source§impl PartialEq for NdArrayDevice
impl PartialEq for NdArrayDevice
source§fn eq(&self, other: &NdArrayDevice) -> bool
fn eq(&self, other: &NdArrayDevice) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for NdArrayDevice
impl Eq for NdArrayDevice
impl StructuralEq for NdArrayDevice
impl StructuralPartialEq for NdArrayDevice
Auto Trait Implementations§
impl RefUnwindSafe for NdArrayDevice
impl Send for NdArrayDevice
impl Sync for NdArrayDevice
impl Unpin for NdArrayDevice
impl UnwindSafe for NdArrayDevice
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