pub struct StateMemoryAssumptions {
pub floating_state_dtype_bytes: NonZeroU8,
pub batch_size: u64,
pub requested_positions: u64,
pub sliding_window_bounds: Vec<u64>,
pub allocation_granularity: u64,
}Expand description
Floating-dtype and request assumptions used by state estimation.
Fields§
§floating_state_dtype_bytes: NonZeroU8Bytes per architecture-declared generic floating-state scalar.
Fixed-dtype tensors use their own widths from the exact state policy.
batch_size: u64Logical request batch size.
requested_positions: u64Total requested positions, including output allowance.
sliding_window_bounds: Vec<u64>Distinct sliding-window bounds in ascending order.
allocation_granularity: u64Backing-array growth granularity for unbounded caches.
Trait Implementations§
Source§impl Clone for StateMemoryAssumptions
impl Clone for StateMemoryAssumptions
Source§fn clone(&self) -> StateMemoryAssumptions
fn clone(&self) -> StateMemoryAssumptions
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 StateMemoryAssumptions
impl Debug for StateMemoryAssumptions
Source§impl<'de> Deserialize<'de> for StateMemoryAssumptions
impl<'de> Deserialize<'de> for StateMemoryAssumptions
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 StateMemoryAssumptions
Source§impl PartialEq for StateMemoryAssumptions
impl PartialEq for StateMemoryAssumptions
Source§impl Serialize for StateMemoryAssumptions
impl Serialize for StateMemoryAssumptions
impl StructuralPartialEq for StateMemoryAssumptions
Auto Trait Implementations§
impl Freeze for StateMemoryAssumptions
impl RefUnwindSafe for StateMemoryAssumptions
impl Send for StateMemoryAssumptions
impl Sync for StateMemoryAssumptions
impl Unpin for StateMemoryAssumptions
impl UnsafeUnpin for StateMemoryAssumptions
impl UnwindSafe for StateMemoryAssumptions
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