Spec-Zone.ru › TensorFlow

tf.raw_ops.TPUPartitionedOutputV2

An op that demultiplexes a tensor to be sharded by XLA to a list of partitioned

View aliases

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.raw_ops.TPUPartitionedOutputV2

tf.raw_ops.TPUPartitionedOutputV2(
    inputs, num_splits, partition_dims, name=None
)

outputs outside the XLA computation. Supports ND sharding.

Args
inputs A Tensor. A tensor which represents the full shape of partitioned tensors.
num_splits An int that is >= 1.
partition_dims A list of ints. A list of integers describing how each dimension is partitioned. Emptiness indicates the inputs are replicated.
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/api_docs/python/tf/raw_ops/TPUPartitionedOutputV2

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API