W3cubDocs

/TensorFlow Python

tf.profiler.advise

advise(
    graph,
    run_meta=None,
    options=_DEFAULT_ADVISE_OPTIONS
)

Defined in tensorflow/python/profiler/model_analyzer.py.

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

Args:

  • graph: required tf.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:

Returns AdviceProto proto

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/profiler/advise