tf.compat.v1.profiler.advise  |  TensorFlow v2.16.1 (original) (raw)

tf.compat.v1.profiler.advise

Auto profile and advise.

tf.compat.v1.profiler.advise(
    graph=None, run_meta=None, options=_DEFAULT_ADVISE_OPTIONS
)

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

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.

Last updated 2024-04-26 UTC.