Skip to main content

apply_activation

Function apply_activation 

Source
pub fn apply_activation<B: InterventionBackend>(
    backend: &mut B,
    input: &B::Tensor,
    action: &InterventionAction,
    slice: &ResolvedCaptureSlice,
) -> Result<B::Tensor, CaptureExecutionError<B::Error>>
Expand description

Executes the shared activation recipe. Direct callers receive the same runtime validation as admitted runs; no primitive receives the public action enum.