tf.raw_ops.FilterByLastComponentDataset
Создает набор данных, содержащий элементы первого компонента input_dataset, у которых в последнем компоненте значение true.
tf.raw_ops.FilterByLastComponentDataset(
input_dataset, output_types, output_shapes, name=None
)
| Аргументы | |
|---|---|
input_dataset | A Tensor of type variant. |
output_types | Список tf.DTypes, длина которого равна >= 1. |
output_shapes | Список форм (каждая — tf.TensorShape или список ints), длина которого равна >= 1. |
name | Имя операции (необязательно). |
| Возвращаемые значения | |
|---|---|
A Tensor of type 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/api_docs/python/tf/raw_ops/FilterByLastComponentDataset