pub enum StateCheckpointContents {
PrefixPositions,
BoundaryValue,
}Expand description
Logical contents valid at one completed boundary N. Physical regions, padding, aliases, and initialization coverage must be resolved separately. This is not inferred from a capacity formula or tensor/state name.
Variants§
PrefixPositions
The ordered logical positions [0, N), with one semantic tensor value per position. Unwritten capacity after N is not part of the checkpoint.
BoundaryValue
The entire semantic tensor value at exactly N, with no earlier values. It cannot be shortened to represent an earlier boundary.
Trait Implementations§
Source§impl Clone for StateCheckpointContents
impl Clone for StateCheckpointContents
Source§fn clone(&self) -> StateCheckpointContents
fn clone(&self) -> StateCheckpointContents
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 moreimpl Copy for StateCheckpointContents
Source§impl Debug for StateCheckpointContents
impl Debug for StateCheckpointContents
Source§impl<'de> Deserialize<'de> for StateCheckpointContents
impl<'de> Deserialize<'de> for StateCheckpointContents
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 StateCheckpointContents
Source§impl PartialEq for StateCheckpointContents
impl PartialEq for StateCheckpointContents
Source§impl Serialize for StateCheckpointContents
impl Serialize for StateCheckpointContents
impl StructuralPartialEq for StateCheckpointContents
Auto Trait Implementations§
impl Freeze for StateCheckpointContents
impl RefUnwindSafe for StateCheckpointContents
impl Send for StateCheckpointContents
impl Sync for StateCheckpointContents
impl Unpin for StateCheckpointContents
impl UnsafeUnpin for StateCheckpointContents
impl UnwindSafe for StateCheckpointContents
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