# Module: tf.compat.v1.profiler

<br />

Public API for tf.profiler namespace.

## Classes

[`class AdviceProto`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/profiler/AdviceProto): A ProtocolMessage

[`class GraphNodeProto`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/profiler/GraphNodeProto): A ProtocolMessage

[`class MultiGraphNodeProto`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/profiler/MultiGraphNodeProto): A ProtocolMessage

[`class OpLogProto`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/profiler/OpLogProto): A ProtocolMessage

[`class ProfileOptionBuilder`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/profiler/ProfileOptionBuilder): Option Builder for Profiling API.

[`class Profiler`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/profiler/Profiler): TensorFlow multi-step profiler.

## Functions

[`advise(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/profiler/advise): Auto profile and advise.

[`profile(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/profiler/profile): Profile model.

[`write_op_log(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/profiler/write_op_log): Log provided 'op_log', and add additional model information below.