ag_trace_data: Trace reads of 'ag_tensor$data'

View source: R/ag_trace.R

ag_trace_dataR Documentation

Trace reads of 'ag_tensor$data'

Description

Turns the tracer on or off for the current session. Enabling it affects only tensors created afterwards, since the instrumentation is installed when a tensor is built.

Usage

ag_trace_data(on = TRUE)

ag_trace_data_reset()

Arguments

on

'TRUE' to trace, 'FALSE' to stop, 'NA' to only query the state.

Value

The previous state, invisibly.


ggmlR documentation built on Oct. 23, 2026, 1:07 a.m.