On this page
tf.raw_ops.TPUPartitionedOutput
An op that demultiplexes a tensor to be sharded by XLA to a list of partitioned
tf.raw_ops.TPUPartitionedOutput(
inputs, num_splits, partition_dim=0, name=None
)
outputs outside the XLA computation.
| Args | |
|---|---|
inputs |
A Tensor. A tensor which represents the full shape of partitioned tensors. |
num_splits |
An int that is >= 1. |
partition_dim |
An optional int. Defaults to 0. An integer describles which dimension is partitioned. |
name |
A name for the operation (optional). |
| Returns | |
|---|---|
A list of num_splits Tensor objects with the same type as inputs. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/raw_ops/TPUPartitionedOutput