pub struct NodeHints {
pub fp16_eligible: bool,
pub compile_time_constant: bool,
}Expand description
Per-node hint bits derived from the foundation analyses.
Callers populate this from the substrate they already have:
PrecisionHints::lookup(digest) for fp16_eligible, the F1
vsa_specialization_key for compile_time_constant. The cost
helper does not compute these - it only consumes them.
Fields§
§fp16_eligible: boolFoundation precision_hint analysis flagged this node as representable in F16. The extractor will prefer this node when the device profile reports tensor-core support.
compile_time_constant: boolF1 specialization detected this node’s value as a compile-time constant. Reserved for the F3 dtype-spec wiring; not yet consumed by this helper.
Trait Implementations§
impl Copy for NodeHints
impl Eq for NodeHints
impl StructuralPartialEq for NodeHints
Auto Trait Implementations§
impl Freeze for NodeHints
impl RefUnwindSafe for NodeHints
impl Send for NodeHints
impl Sync for NodeHints
impl Unpin for NodeHints
impl UnsafeUnpin for NodeHints
impl UnwindSafe for NodeHints
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§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.