TapeRecorder

Simple tape recorder that collects forward pass records. Zero-cost when not installed in the ExecutionContext (hooks == null).

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
data class Entry(val moduleId: String, val moduleName: String, val modulePath: String?, val inputSpec: TensorSpec?, val outputSpec: TensorSpec?, val paramRefs: List<String>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun onForwardBegin(module: ModuleNode, input: Any)
Link copied to clipboard
open override fun onForwardEnd(module: ModuleNode, input: Any, output: Any)