# tf.profiler.experimental.server.start

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.14.0/tensorflow/python/profiler/profiler_v2.py#L168-L180) |

Start a profiler grpc server that listens to given port.

    tf.profiler.experimental.server.start(
        port
    )

The profiler server will exit when the process finishes. The service is
defined in tensorflow/core/profiler/profiler_service.proto.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `port` | port profiler server listens to. |

<br />

Example usage: \`\`\`python tf.profiler.experimental.server.start(6009) # do
your training here.