Spec-Zone.ru › TensorFlow

tf.raw_ops.CollectiveReduceV3

Взаимно редуцирует несколько тензоров одинакового типа и формы.

Просмотреть псевдонимы

Псевдонимы совместимости для миграции

Подробнее см. в руководстве по миграции.

tf.compat.v1.raw_ops.CollectiveReduceV3

tf.raw_ops.CollectiveReduceV3(
    input,
    communicator,
    group_assignment,
    reduction,
    timeout_seconds=0,
    name=None
)
Аргументы
input Tensor. Должен иметь один из следующих типов: bfloat16, float32, half, float64, int32, int64.
communicator Tensor типа resource.
group_assignment Tensor типа int32.
reduction string из: "Min", "Max", "Mul", "Add".
timeout_seconds Необязательный float. Значение по умолчанию: 0.
name Имя операции (необязательно).
Возвращаемое значение
Tensor. Имеет тот же тип, что и input.

© 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/CollectiveReduceV3

Spec-Zone.ru

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