tf.raw_ops.DataServiceDatasetV2
Создаёт набор данных, который считывает данные из сервиса tf.data.
tf.raw_ops.DataServiceDatasetV2(
dataset_id,
processing_mode,
address,
protocol,
job_name,
consumer_index,
num_consumers,
max_outstanding_requests,
iteration_counter,
output_types,
output_shapes,
task_refresh_interval_hint_ms=-1,
data_transfer_protocol='',
target_workers='AUTO',
name=None
)
| Аргументы | |
|---|---|
dataset_id | A Tensor типа int64. |
processing_mode | A Tensor типа string. |
address | A Tensor типа string. |
protocol | A Tensor типа string. |
job_name | A Tensor типа string. |
consumer_index | A Tensor типа int64. |
num_consumers | A Tensor типа int64. |
max_outstanding_requests | A Tensor типа int64. |
iteration_counter | A Tensor типа resource. |
output_types | Список tf.DTypes длиной >= 1. |
output_shapes | Список форм (каждая — tf.TensorShape или список ints) длиной >= 1. |
task_refresh_interval_hint_ms | Необязательный int. По умолчанию -1. |
data_transfer_protocol | Необязательный string. По умолчанию "". |
target_workers | Необязательный string. По умолчанию "AUTO". |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
A Tensor типа variant. |
© 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/DataServiceDatasetV2