tf.raw_ops.TensorMapHasKey
Определяет, существует ли указанный ключ в отображении.
tf.raw_ops.TensorMapHasKey(
input_handle, key, name=None
)
input_handle: входное отображение ключ: ключ для проверки has_key: существует ли ключ в отображении или нет
| Аргументы | |
|---|---|
input_handle | A Tensor типа variant. |
key | A Tensor. |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
A Tensor типа bool. |
© 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/TensorMapHasKey