pub struct SemanticResidentModelMemory {
pub parent: SemanticPublishedIdentity,
pub generations: (u64, u64, u64),
pub numerical_state: (Identity256, Identity256),
pub allocations: Vec<(DeviceAllocationProvenance, DlpackManagedTensor)>,
pub storages: Vec<SemanticModelStorage>,
pub views: Vec<(SemanticModelView, SemanticTensorLayout)>,
}Expand description
Direct read-only aliases of the selected resident neural bank. Each backing allocation is exported exactly once; storages, views and layouts preserve the producer’s original alias geometry. The acquired reader remains the use owner and therefore prevents reuse of this physical bank through final use.
Fields§
§parent: SemanticPublishedIdentity§generations: (u64, u64, u64)Model generation, neural bank and neural generation.
numerical_state: (Identity256, Identity256)Original storage/view geometry and sealed numerical contents.
allocations: Vec<(DeviceAllocationProvenance, DlpackManagedTensor)>§storages: Vec<SemanticModelStorage>§views: Vec<(SemanticModelView, SemanticTensorLayout)>Auto Trait Implementations§
impl !RefUnwindSafe for SemanticResidentModelMemory
impl !UnwindSafe for SemanticResidentModelMemory
impl Freeze for SemanticResidentModelMemory
impl Send for SemanticResidentModelMemory
impl Sync for SemanticResidentModelMemory
impl Unpin for SemanticResidentModelMemory
impl UnsafeUnpin for SemanticResidentModelMemory
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