Package-level declarations
Types
Link copied to clipboard
interface ForwardHooks
Forward pass hook interface. Implementations can record diagnostics, timings, or build a tape.
Link copied to clipboard
Simple tape recorder that collects forward pass records. Zero-cost when not installed in the ExecutionContext (hooks == null).
Functions
Link copied to clipboard
inline fun <I, O> withForwardHooks(ctx: ExecutionContext?, module: ModuleNode, input: I, forward: () -> O): O
Utility to safely dispatch forward hooks if a context with hooks is provided.