pub enum Extract {
Dim(String),
Weight,
Activation,
Output,
Op,
ConsumerOp,
Param(String),
Setting(String),
InDim,
OutDim,
}Expand description
2026-09-29: Where a parameter’s value is read from, for one node of one circuit.
Variants§
Dim(String)
2026-09-29: dim:<name>: the circuit’s dim.
Weight
2026-09-29: weight: the node’s weight format.
Activation
2026-09-29: activation: the format of the node’s first input.
Output
2026-09-29: output: the format of the node’s first output.
Op
2026-09-29: op: the node’s op name.
ConsumerOp
2026-09-29: consumer_op: the op of the first node reading the node’s first output.
Param(String)
2026-09-29: param:<key>: the node’s template parameter.
Setting(String)
2026-09-29: setting:<key>: the instance’s policy setting.
InDim
2026-09-29: in_dim / out_dim: the first input’s / output’s feature dimension.
OutDim
2026-09-29: See Extract::InDim.
Trait Implementations§
impl Eq for Extract
impl StructuralPartialEq for Extract
Auto Trait Implementations§
impl Freeze for Extract
impl RefUnwindSafe for Extract
impl Send for Extract
impl Sync for Extract
impl Unpin for Extract
impl UnwindSafe for Extract
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.