pub struct StateSpec {
pub id: StateId,
pub value_id: ProgramValueId,
pub tensor: ProgramTensorSpec,
pub lifetime: StateLifetime,
pub capacity_demand: StateCapacityDemand,
pub initialization: StateInitialization,
}Fields§
§id: StateId§value_id: ProgramValueId§tensor: ProgramTensorSpecLogical tensor view consumed by one operation. It does not select a physical allocator, addressability profile, or backing pool.
lifetime: StateLifetime§capacity_demand: StateCapacityDemand§initialization: StateInitializationInitial contents required when a new logical state scope acquires physical backing. This is semantic model state, not an allocator hint.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StateSpec
impl<'de> Deserialize<'de> for StateSpec
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 StateSpec
impl StructuralPartialEq for StateSpec
Auto Trait Implementations§
impl Freeze for StateSpec
impl RefUnwindSafe for StateSpec
impl Send for StateSpec
impl Sync for StateSpec
impl Unpin for StateSpec
impl UnsafeUnpin for StateSpec
impl UnwindSafe for StateSpec
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