Skip to main content

prepare_replicated_text_contract

Function prepare_replicated_text_contract 

Source
pub fn prepare_replicated_text_contract<A, B, S>(
    architecture: &A,
    source_architecture: Option<&A>,
    selected: SelectedReplicatedTextRealization,
    expected_prompt_cache_architecture_identity: &str,
    context: &<B::Tensor as Tensor>::Context,
) -> Result<PreparedReplicatedTextContract, String>
Expand description

Validates a concrete architecture against its authoritative selection and produces the unforgeable contract consumed by the neutral constructor.