pub struct SemanticTensorInput {
pub layout: SemanticTensorLayout,
pub logical_begin: u64,
pub logical_end: u64,
pub tensor: DlpackManagedTensor,
pub native_allocation: Option<DeviceAllocationProvenance>,
}Expand description
A genuine producer-owned model tensor and its exact cold model contract. No numeric conversion occurs. Logical intervals describe covered positions; non-positional weights and optimizer state use the explicit interval 0..0.
Fields§
§layout: SemanticTensorLayout§logical_begin: u64§logical_end: u64§tensor: DlpackManagedTensor§native_allocation: Option<DeviceAllocationProvenance>Retained native allocation origin of this actual producer, if any. This is not a reader grant or a tensor version-counter identity.
Auto Trait Implementations§
impl !RefUnwindSafe for SemanticTensorInput
impl !UnwindSafe for SemanticTensorInput
impl Freeze for SemanticTensorInput
impl Send for SemanticTensorInput
impl Sync for SemanticTensorInput
impl Unpin for SemanticTensorInput
impl UnsafeUnpin for SemanticTensorInput
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