ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.compat.v1.profiler.advise

View source on GitHub

Auto profile and advise.

Builds profiles and automatically check anomalies of various aspects. For more details: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/profiler/README.md

graph tf.Graph. If None and eager execution is not enabled, use default graph.
run_meta optional tensorflow.RunMetadata proto. It is necessary to to support run time information profiling, such as time and memory.
options see ALL_ADVICE example above. Default checks everything.

Returns AdviceProto proto