W3cubDocs

/TensorFlow 2.4

tf.raw_ops.LookupTableFindV2

Looks up keys in a table, outputs the corresponding values.

The tensor keys must of the same type as the keys of the table. The output values is of the type of the table values.

The scalar default_value is the value output for keys not present in the table. It must also be of the same type as the table values.

Args
table_handle A Tensor of type resource. Handle to the table.
keys A Tensor. Any shape. Keys to look up.
default_value A Tensor.
name A name for the operation (optional).
Returns
A Tensor. Has the same type as default_value.

© 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/LookupTableFindV2