pub struct ObservationPoint {
pub path: String,
pub node_id: String,
pub meaning: String,
pub value_type: ObservationValueType,
pub dtype: ObservationDtype,
pub axes: Option<Vec<TensorAxis>>,
pub prefill: bool,
pub decode: bool,
pub requirements: Vec<ObservationRequirement>,
pub position: ObservationPosition,
pub retained_bytes: Option<u64>,
pub host_bytes: Option<u64>,
}Expand description
One exact implemented tensor observation, not a hypothetical internal value.
Fields§
§path: StringExact activation path accepted by ObservationSelector::Exact.
node_id: StringAssociated architecture node identity.
meaning: StringSemantic meaning of the captured value.
value_type: ObservationValueTypePortable value category.
dtype: ObservationDtypeSemantic dtype before backend-specific host conversion.
axes: Option<Vec<TensorAxis>>Tensor axes in storage order, when known.
prefill: boolAvailability during a prefill operation.
decode: boolAvailability during a cached decode operation.
requirements: Vec<ObservationRequirement>Conditions in addition to phase availability.
position: ObservationPositionPosition relative to an intervention at this exact point.
retained_bytes: Option<u64>Full tensor retained until host materialization; bytes depend on runtime shape/dtype.
host_bytes: Option<u64>Host materialization bytes when reliably known; otherwise unknown.
Trait Implementations§
Source§impl Clone for ObservationPoint
impl Clone for ObservationPoint
Source§fn clone(&self) -> ObservationPoint
fn clone(&self) -> ObservationPoint
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 ObservationPoint
impl Debug for ObservationPoint
Source§impl<'de> Deserialize<'de> for ObservationPoint
impl<'de> Deserialize<'de> for ObservationPoint
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 ObservationPoint
Source§impl PartialEq for ObservationPoint
impl PartialEq for ObservationPoint
Source§impl Serialize for ObservationPoint
impl Serialize for ObservationPoint
impl StructuralPartialEq for ObservationPoint
Auto Trait Implementations§
impl Freeze for ObservationPoint
impl RefUnwindSafe for ObservationPoint
impl Send for ObservationPoint
impl Sync for ObservationPoint
impl Unpin for ObservationPoint
impl UnsafeUnpin for ObservationPoint
impl UnwindSafe for ObservationPoint
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