pub enum HadamardApplication {
BeforeMatmul {
input_permutation: Option<GroupedFeatureTranspose>,
},
AfterEmbeddingLookup,
}Variants§
BeforeMatmul
Consume H(signs * permutation(input)) before the packed matrix.
Fields
§
input_permutation: Option<GroupedFeatureTranspose>AfterEmbeddingLookup
Restore a looked-up latent row with signs * H(row).
A projection-input permutation has no meaning in this direction.
Trait Implementations§
Source§impl Clone for HadamardApplication
impl Clone for HadamardApplication
Source§fn clone(&self) -> HadamardApplication
fn clone(&self) -> HadamardApplication
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 moreSource§impl Debug for HadamardApplication
impl Debug for HadamardApplication
Source§impl<'de> Deserialize<'de> for HadamardApplication
impl<'de> Deserialize<'de> for HadamardApplication
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
impl Eq for HadamardApplication
Source§impl PartialEq for HadamardApplication
impl PartialEq for HadamardApplication
Source§impl Serialize for HadamardApplication
impl Serialize for HadamardApplication
impl StructuralPartialEq for HadamardApplication
Auto Trait Implementations§
impl Freeze for HadamardApplication
impl RefUnwindSafe for HadamardApplication
impl Send for HadamardApplication
impl Sync for HadamardApplication
impl Unpin for HadamardApplication
impl UnsafeUnpin for HadamardApplication
impl UnwindSafe for HadamardApplication
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