pub struct SemanticModelMemory {
pub allocations: Vec<SemanticTensorInput>,
pub storages: Vec<SemanticModelStorage>,
pub views: Vec<SemanticModelView>,
}Expand description
Full producer-owned backing buffers and their independent storage/view map. Allocation inputs are contiguous U8 vectors with role zero and ordinal index. Tensor and version-counter identities remain in the opaque model contract.
Fields§
§allocations: Vec<SemanticTensorInput>§storages: Vec<SemanticModelStorage>§views: Vec<SemanticModelView>Auto Trait Implementations§
impl !RefUnwindSafe for SemanticModelMemory
impl !UnwindSafe for SemanticModelMemory
impl Freeze for SemanticModelMemory
impl Send for SemanticModelMemory
impl Sync for SemanticModelMemory
impl Unpin for SemanticModelMemory
impl UnsafeUnpin for SemanticModelMemory
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