pub struct ReplicatedTextOutputCompanion { /* private fields */ }Expand description
Architecture-declared output companion for one materialized linear weight.
Implementations§
Source§impl ReplicatedTextOutputCompanion
impl ReplicatedTextOutputCompanion
Sourcepub fn new(
name: impl Into<String>,
role: LinearCompanionRole,
logical_shape: Vec<usize>,
owner: ParameterGroupOwner,
) -> Result<Self, ReplicatedTextContractError>
pub fn new( name: impl Into<String>, role: LinearCompanionRole, logical_shape: Vec<usize>, owner: ParameterGroupOwner, ) -> Result<Self, ReplicatedTextContractError>
Creates one exact output companion identity and semantic role.
Sourcepub const fn role(&self) -> LinearCompanionRole
pub const fn role(&self) -> LinearCompanionRole
Returns the companion’s role in the encoded linear parameter.
Sourcepub fn logical_shape(&self) -> &[usize]
pub fn logical_shape(&self) -> &[usize]
Returns the exact architecture-declared companion geometry.
Sourcepub const fn owner(&self) -> &ParameterGroupOwner
pub const fn owner(&self) -> &ParameterGroupOwner
Returns the exact architecture-declared companion owner.
Sourcepub fn with_catalog_source(self, source: ReplicatedTextPhysicalSource) -> Self
pub fn with_catalog_source(self, source: ReplicatedTextPhysicalSource) -> Self
Retains exact translated-catalog provenance for a directly loaded companion.
Sourcepub fn materialization_task(&self) -> Option<&ReplicatedTextMaterializationTask>
pub fn materialization_task(&self) -> Option<&ReplicatedTextMaterializationTask>
Returns the standalone selected materialization task, when one exists.
Generated transform outputs and translated checkpoint catalog outputs instead retain their causal source on the primary task or companion.
Sourcepub const fn catalog_source(&self) -> Option<&ReplicatedTextPhysicalSource>
pub const fn catalog_source(&self) -> Option<&ReplicatedTextPhysicalSource>
Returns exact translated-catalog provenance for this companion.
Sourcepub const fn derived_recipe(&self) -> Option<&DerivedWeightRecipe>
pub const fn derived_recipe(&self) -> Option<&DerivedWeightRecipe>
Returns the architecture-owned companion derivation, when required.
Sourcepub const fn derived_output(&self) -> Option<&RecipeMetadata>
pub const fn derived_output(&self) -> Option<&RecipeMetadata>
Returns admission-time metadata for the derived companion output.
Trait Implementations§
Source§impl Clone for ReplicatedTextOutputCompanion
impl Clone for ReplicatedTextOutputCompanion
Source§fn clone(&self) -> ReplicatedTextOutputCompanion
fn clone(&self) -> ReplicatedTextOutputCompanion
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more