LatencyExecutionObserver
Simple observer that records per-operation latency using the monotonic clock.
Functions
Link copied to clipboard
Called after a successful operation. result can be a single tensor, a collection of tensors, or any backend specific payload.
Link copied to clipboard
Called if the backend throws while evaluating an operation.
Link copied to clipboard
Returns a snapshot of the collected latency measurements.