Spec-Zone.ru › TensorFlow 2.4

tf.raw_ops.ExperimentalRebatchDataset

Создаёт набор данных, изменяющий размер пакета.

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

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

См. Руководство по миграции для получения дополнительных сведений.

tf.compat.v1.raw_ops.ExperimentalRebatchDataset

tf.raw_ops.ExperimentalRebatchDataset(
    input_dataset, num_replicas, output_types, output_shapes, use_fallback=True,
    name=None
)

Создаёт набор данных, изменяющий размер пакета набора данных на текущий размер пакета // num_replicas.

Аргументы
input_dataset A Tensor типа variant. A variant tensor representing the input dataset.
num_replicas A Tensor типа int64. A scalar representing the number of replicas to distribute this batch across. As a result of this transformation the current batch size would end up being divided by this parameter.
output_types Список tf.DTypes длиной >= 1.
output_shapes Список форм (каждая — tf.TensorShape или список ints) длиной >= 1.
use_fallback Необязательный bool. По умолчанию True.
name Имя операции (необязательно).
Возвращаемое значение
A Tensor типа variant.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/ExperimentalRebatchDataset

Spec-Zone.ru

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