Type model_analyzer
Namespace tensorflow.contrib.tfprof.model_analyzer
Methods
Properties
Public static methods
object advise(object graph, object run_meta, ImplicitContainer<T> tfprof_options)
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
Parameters
-
object
graph - tf.Graph. If None and eager execution is not enabled, use default graph.
-
object
run_meta - optional tensorflow.RunMetadata proto. It is necessary to to support run time information profiling, such as time and memory.
-
ImplicitContainer<T>
tfprof_options
Returns
-
object
- Returns AdviceProto proto
object advise_dyn(object graph, object run_meta, ImplicitContainer<T> tfprof_options)
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
Parameters
-
object
graph - tf.Graph. If None and eager execution is not enabled, use default graph.
-
object
run_meta - optional tensorflow.RunMetadata proto. It is necessary to to support run time information profiling, such as time and memory.
-
ImplicitContainer<T>
tfprof_options
Returns
-
object
- Returns AdviceProto proto