View source on GitHub |
Options to control profiler behaviors.
tf.profiler.experimental.ProfilerOptions(
host_tracer_level=2, python_tracer_level=0, device_tracer_level=1
)
A tf.profiler.ProfilerOptions
hold the knobs to control tf.profiler's
behavior.
Fields:
host_tracer_level
: for adjust TraceMe levels. i.e. 1 => critical, 2 => info, 3 => verbose. [default to 2]python_tracer_level
: for enable python function call tracing, 1 => enable. 0 => disable [default to 0]device_tracer_level
: for adjust device (TPU/GPU) tracer level, 0 => disable 1 => enabled. We may introduce fine-tuned level in the future. [default to 1]
Attributes | |
---|---|
host_tracer_level
|
|
python_tracer_level
|
|
device_tracer_level
|