tf.raw_ops.LookupTableFindV2
Stay organized with collections
Save and categorize content based on your preferences.
Looks up keys in a table, outputs the corresponding values.
tf.raw_ops.LookupTableFindV2(
table_handle, keys, default_value, name=None
)
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 .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[]]