pub enum NeuronChipType {
Inferentia,
Trainium,
}Expand description
AWS Neuron chip type.
Variants§
Implementations§
Source§impl NeuronChipType
impl NeuronChipType
Sourcepub fn hbm_per_core_bytes(&self) -> u64
pub fn hbm_per_core_bytes(&self) -> u64
HBM per NeuronCore in bytes.
Trait Implementations§
Source§impl Clone for NeuronChipType
impl Clone for NeuronChipType
Source§fn clone(&self) -> NeuronChipType
fn clone(&self) -> NeuronChipType
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 NeuronChipType
impl Debug for NeuronChipType
Source§impl<'de> Deserialize<'de> for NeuronChipType
impl<'de> Deserialize<'de> for NeuronChipType
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 Display for NeuronChipType
impl Display for NeuronChipType
Source§impl Hash for NeuronChipType
impl Hash for NeuronChipType
Source§impl PartialEq for NeuronChipType
impl PartialEq for NeuronChipType
Source§impl Serialize for NeuronChipType
impl Serialize for NeuronChipType
impl Copy for NeuronChipType
impl Eq for NeuronChipType
impl StructuralPartialEq for NeuronChipType
Auto Trait Implementations§
impl Freeze for NeuronChipType
impl RefUnwindSafe for NeuronChipType
impl Send for NeuronChipType
impl Sync for NeuronChipType
impl Unpin for NeuronChipType
impl UnsafeUnpin for NeuronChipType
impl UnwindSafe for NeuronChipType
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