# tf.tpu.initialize_system

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/tpu/tpu.py#L90-L109) |

Initializes a distributed TPU system for use with TensorFlow.

#### View aliases


**Main aliases**

\`tf.contrib.tpu.initialize_system\`
**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.tpu.initialize_system`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/tpu/initialize_system)

<br />

    tf.tpu.initialize_system(
        embedding_config=None, job=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `embedding_config` | If not None, a `TPUEmbeddingConfiguration` proto describing the desired configuration of the hardware embedding lookup tables. If embedding_config is None, no hardware embeddings can be used. |
| `job` | The job (the XXX in TensorFlow device specification /job:XXX) that contains the TPU devices that will be initialized. If job=None it is assumed there is only one job in the TensorFlow flock, and an error will be returned if this assumption does not hold. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A serialized `TopologyProto` that describes the TPU system. Note: the topology must be evaluated using [`Session.run`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/InteractiveSession#run) before it can be used. ||

<br />