# ConfigureDistributedTPU

public final class **ConfigureDistributedTPU** Sets up the centralized structures for a distributed TPU system.

### Nested Classes

|---|---|---|---|
| class | [ConfigureDistributedTPU.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options) || Optional attributes for `https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU` |

### Public Methods

|---|---|
| [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<String\> | [asOutput](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU#asOutput())() Returns the symbolic handle of a tensor. |
| static [ConfigureDistributedTPU.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options) | [compilationFailureClosesChips](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU#compilationFailureClosesChips(java.lang.Boolean))(Boolean compilationFailureClosesChips) |
| static [ConfigureDistributedTPU](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU) | [create](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU#create(org.tensorflow.op.Scope,%20org.tensorflow.op.core.ConfigureDistributedTPU.Options...))([Scope](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/Scope) scope, [Options...](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options) options) Factory method to create a class wrapping a new ConfigureDistributedTPU operation. |
| static [ConfigureDistributedTPU.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options) | [embeddingConfig](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU#embeddingConfig(java.lang.String))(String embeddingConfig) |
| static [ConfigureDistributedTPU.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options) | [enableWholeMeshCompilations](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU#enableWholeMeshCompilations(java.lang.Boolean))(Boolean enableWholeMeshCompilations) |
| static [ConfigureDistributedTPU.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options) | [isGlobalInit](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU#isGlobalInit(java.lang.Boolean))(Boolean isGlobalInit) |
| [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<String\> | [topology](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU#topology())() A serialized tensorflow.tpu.TopologyProto that describes the TPU topology. |
| static [ConfigureDistributedTPU.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options) | [tpuCancellationClosesChips](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU#tpuCancellationClosesChips(java.lang.Long))(Long tpuCancellationClosesChips) |
| static [ConfigureDistributedTPU.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options) | [tpuEmbeddingConfig](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU#tpuEmbeddingConfig(java.lang.String))(String tpuEmbeddingConfig) |

### Inherited Methods

From class [org.tensorflow.op.PrimitiveOp](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp)

|---|---|
| final boolean | [equals](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#equals(java.lang.Object))(Object obj) |
| final int | [hashCode](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#hashCode())() |
| [Operation](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operation) | [op](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#op())() Returns the underlying `https://www.tensorflow.org/api_docs/java/org/tensorflow/Operation` |
| final String | [toString](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#toString())() |

From class java.lang.Object

|---|---|
| boolean | equals(Object arg0) |
| final Class\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| String | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

From interface [org.tensorflow.Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)

|---|---|
| abstract [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<String\> | [asOutput](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand#asOutput())() Returns the symbolic handle of a tensor. |

## Public Methods

#### public [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<String\>
**asOutput**
()

Returns the symbolic handle of a tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is
used to obtain a symbolic handle that represents the computation of the input.

<br />

#### public static [ConfigureDistributedTPU.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options)
**compilationFailureClosesChips**
(Boolean compilationFailureClosesChips)

<br />

#### public static [ConfigureDistributedTPU](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU)
**create**
([Scope](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/Scope) scope, [Options...](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options) options)

Factory method to create a class wrapping a new ConfigureDistributedTPU operation.

##### Parameters

| scope | current scope |
| options | carries optional attributes values |
|---|---|

##### Returns

- a new instance of ConfigureDistributedTPU

#### public static [ConfigureDistributedTPU.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options)
**embeddingConfig**
(String embeddingConfig)

<br />

##### Parameters

| embeddingConfig | Reserved. Do not use. |
|---|---|

#### public static [ConfigureDistributedTPU.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options)
**enableWholeMeshCompilations**
(Boolean enableWholeMeshCompilations)

<br />

#### public static [ConfigureDistributedTPU.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options)
**isGlobalInit**
(Boolean isGlobalInit)

<br />

##### Parameters

| isGlobalInit | Reserved. Do not use. |
|---|---|

#### public [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<String\>
**topology**
()

A serialized tensorflow.tpu.TopologyProto that describes the TPU
topology.

#### public static [ConfigureDistributedTPU.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options)
**tpuCancellationClosesChips**
(Long tpuCancellationClosesChips)

<br />

#### public static [ConfigureDistributedTPU.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/ConfigureDistributedTPU.Options)
**tpuEmbeddingConfig**
(String tpuEmbeddingConfig)

<br />

##### Parameters

| tpuEmbeddingConfig | Serialized tensorflow.tpu.TPUEmbeddingConfiguration that describes the embedding lookups of the program. |
|---|---|