pub enum LayerKind {
MatMul,
Activation,
LayerNorm,
RMSNorm,
Add,
Mul,
Attention,
Embedding,
Dequantize,
Quantize,
Input,
Unknown,
}Expand description
Classification of a circuit layer used for coloring and filtering.
Variants§
Implementations§
Trait Implementations§
impl Copy for LayerKind
Source§impl<'de> Deserialize<'de> for LayerKind
impl<'de> Deserialize<'de> for LayerKind
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 LayerKind
impl StructuralPartialEq for LayerKind
Auto Trait Implementations§
impl Freeze for LayerKind
impl RefUnwindSafe for LayerKind
impl Send for LayerKind
impl Sync for LayerKind
impl Unpin for LayerKind
impl UnsafeUnpin for LayerKind
impl UnwindSafe for LayerKind
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