tf.tpu.initialize_system
Stay organized with collections
Save and categorize content based on your preferences.
Initializes a distributed TPU system for use with TensorFlow.
tf.tpu.initialize_system(
embedding_config=None, job=None
)
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.
|
Returns |
A serialized TopologyProto that describes the TPU system. Note:
the topology must be evaluated using Session.run before it can be used.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.tpu.initialize_system\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/tpu/tpu.py#L90-L109) |\n\nInitializes a distributed TPU system for use with TensorFlow.\n\n#### View aliases\n\n\n**Main aliases**\n\n\\`tf.contrib.tpu.initialize_system\\`\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.tpu.initialize_system`](/api_docs/python/tf/compat/v1/tpu/initialize_system)\n\n\u003cbr /\u003e\n\n tf.tpu.initialize_system(\n embedding_config=None, job=None\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `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. |\n| `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. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A serialized `TopologyProto` that describes the TPU system. Note: the topology must be evaluated using [`Session.run`](../../tf/InteractiveSession#run) before it can be used. ||\n\n\u003cbr /\u003e"]]