#[non_exhaustive]pub enum PipelineActivationDtype {
Float16,
Bfloat16,
Float32,
}Expand description
Portable floating-point dtype carried between pipeline stages.
This is execution transport policy, not checkpoint storage metadata. A concrete backend must lower the selected dtype to its native tensor dtype and normalize outgoing activations to it before transport.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Float16
IEEE 16-bit floating point.
Bfloat16
Brain 16-bit floating point.
Float32
IEEE 32-bit floating point.
Trait Implementations§
Source§impl Clone for PipelineActivationDtype
impl Clone for PipelineActivationDtype
Source§fn clone(&self) -> PipelineActivationDtype
fn clone(&self) -> PipelineActivationDtype
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PipelineActivationDtype
Source§impl Debug for PipelineActivationDtype
impl Debug for PipelineActivationDtype
impl Eq for PipelineActivationDtype
Source§impl Hash for PipelineActivationDtype
impl Hash for PipelineActivationDtype
Source§impl PartialEq for PipelineActivationDtype
impl PartialEq for PipelineActivationDtype
impl StructuralPartialEq for PipelineActivationDtype
Auto Trait Implementations§
impl Freeze for PipelineActivationDtype
impl RefUnwindSafe for PipelineActivationDtype
impl Send for PipelineActivationDtype
impl Sync for PipelineActivationDtype
impl Unpin for PipelineActivationDtype
impl UnsafeUnpin for PipelineActivationDtype
impl UnwindSafe for PipelineActivationDtype
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