Skip to main content

SemanticModelContext

Struct SemanticModelContext 

Source
pub struct SemanticModelContext {
    pub parent: SemanticPublishedIdentity,
    pub descriptor_digest: Identity256,
    pub numerical_state: (Identity256, Identity256),
    pub semantic_root: (u64, u64, u64, Identity256, [u64; 3]),
    pub prefix: (DlpackManagedTensor, DlpackManagedTensor),
    pub ring_head: DlpackManagedTensor,
    pub source: DlpackManagedTensor,
    pub generations: (u64, u64, u64, u64, u64),
    pub topology_identity: Identity256,
    pub table_identity: Identity256,
    pub capacities: (u64, u64, u64),
}
Expand description

Model metadata projected from one acquired publication, not supplied by the model. Content identities grant no authority independently of that reader.

Fields§

§parent: SemanticPublishedIdentity§descriptor_digest: Identity256§numerical_state: (Identity256, Identity256)

Original storage/view geometry and device-sealed numerical state. These do not replace the opaque ModelContract or grant independent authority.

§semantic_root: (u64, u64, u64, Identity256, [u64; 3])§prefix: (DlpackManagedTensor, DlpackManagedTensor)

Original prefix identity U8[32] and committed extent U64[1] device views.

§ring_head: DlpackManagedTensor

Original ring head U64[1], not a host scalar or a source rotation.

§source: DlpackManagedTensor

Original source slots U64[32,8], in physical slot order.

§generations: (u64, u64, u64, u64, u64)

Model generation, neural bank, neural generation, cache and authority.

§topology_identity: Identity256§table_identity: Identity256§capacities: (u64, u64, u64)

Prefix capacity, feedback capacity and exclusive position-table bound.

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.