tf.raw_ops.MapPeek
Операция просматривает значения по указанному ключу.
tf.raw_ops.MapPeek(
key,
indices,
dtypes,
capacity=0,
memory_limit=0,
container='',
shared_name='',
name=None
)
Если
основной контейнер не содержит этот ключ, эта операция будет заблокирована до тех пор, пока он не будет найден.
| Аргументы | |
|---|---|
key | A Tensor типа int64. |
indices | A Tensor типа int32. |
dtypes | Список tf.DTypes, длина которого равна >= 1. |
capacity | Необязательный int, который равен >= 0. По умолчанию 0. |
memory_limit | Необязательный int, который равен >= 0. По умолчанию 0. |
container | Необязательный string. По умолчанию "". |
shared_name | Необязательный string. По умолчанию "". |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
Список объектов Tensor типа dtypes. |
© 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/MapPeek