Skip to main content

constant_scale_contract

Function constant_scale_contract 

Source
pub fn constant_scale_contract() -> Result<StandardOperationContract, VNextError>
Expand description

Multiplies a token-major F16 hidden tensor by one positive compile-time rational. The output must exactly alias the input so the operation cannot silently materialize an extra residual-sized buffer.