pub enum SpecializationTensorConfig {
MainFlowOnly,
LoadFlowOnly,
}
Expand description
Determines which types of planes are responsible for loading a tensor.
TODO: maybe we want a “MainPlusExtra” variant that uses main flow planes and load-only planes for the same tensor
Variants§
MainFlowOnly
The tensor is loaded exclusively by planes that participate in the main computation flow.
LoadFlowOnly
The tensor is loaded exclusively by planes dedicated to loading (load-only planes), which do not participate in computation.
Implementations§
Source§impl SpecializationTensorConfig
impl SpecializationTensorConfig
Sourcepub fn has_specialization(&self) -> bool
pub fn has_specialization(&self) -> bool
Whether there is specialization for the tensor
Trait Implementations§
Source§impl Clone for SpecializationTensorConfig
impl Clone for SpecializationTensorConfig
Source§fn clone(&self) -> SpecializationTensorConfig
fn clone(&self) -> SpecializationTensorConfig
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 SpecializationTensorConfig
impl Debug for SpecializationTensorConfig
Source§impl Default for SpecializationTensorConfig
impl Default for SpecializationTensorConfig
Source§fn default() -> SpecializationTensorConfig
fn default() -> SpecializationTensorConfig
Returns the “default value” for a type. Read more
Source§impl Hash for SpecializationTensorConfig
impl Hash for SpecializationTensorConfig
impl Copy for SpecializationTensorConfig
impl Eq for SpecializationTensorConfig
impl StructuralPartialEq for SpecializationTensorConfig
Auto Trait Implementations§
impl Freeze for SpecializationTensorConfig
impl RefUnwindSafe for SpecializationTensorConfig
impl Send for SpecializationTensorConfig
impl Sync for SpecializationTensorConfig
impl Unpin for SpecializationTensorConfig
impl UnwindSafe for SpecializationTensorConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.