parameters: (self, keys, name=None)
return_statement: return values
docstring: Looks up `keys` in a table, outputs the corresponding values.
  
      The `default_value` is used for keys not present in the table.
  
      Args:
        keys: Keys to look up. Can be a tensor of any shape. Must match the
          table's key_dtype.
        name: A name for the operation (optional).
  
      Returns:
        A tensor containing the values in the same shape as `keys` using the
          table's value type.
  
      Raises:
        TypeError: when `keys` do not match the table data types.
docstring_summary: Looks up `keys` in a table, outputs the corresponding values.
docstring_tokens: Looks up keys in a table outputs the corresponding values .
function: def lookup(self, keys, name=None):
      """Looks up `keys` in a table, outputs the corresponding values.
  
      The `default_value` is used for keys not present in the table.
  
      Args:
        keys: Keys to look up. Can be a tensor of any shape. Must match the
          table's key_dtype.
        name: A name for the operation (optional).
  
      Returns:
        A tensor containing the values in the same shape as `keys` using the
          table's value type.
  
      Raises:
        TypeError: when `keys` do not match the table data types.
      """
      if keys.dtype != self._key_dtype:
        raise TypeError("Signature mismatch. Keys must be dtype %s, got %s." %
                        (self._key_dtype, keys.dtype))
  
      with ops.name_scope(name, "%s_lookup_table_find" % self._name,
                          (self._table_ref, keys, self._default_value)) as name:
        with ops.colocate_with(self._table_ref):
          # pylint: disable=protected-access
          values = gen_lookup_ops._lookup_table_find_v2(
              self._table_ref, keys, self._default_value, name=name)
  
          values.set_shape(keys.get_shape().concatenate(self._value_shape))
      return values
function_tokens: def lookup ( self , keys , name = None ) : if keys . dtype != self . _key_dtype : raise TypeError ( "Signature mismatch. Keys must be dtype %s, got %s." % ( self . _key_dtype , keys . dtype ) ) with ops . name_scope ( name , "%s_lookup_table_find" % self . _name , ( self . _table_ref , keys , self . _default_value ) ) as name : with ops . colocate_with ( self . _table_ref ) : # pylint: disable=protected-access values = gen_lookup_ops . _lookup_table_find_v2 ( self . _table_ref , keys , self . _default_value , name = name ) values . set_shape ( keys . get_shape ( ) . concatenate ( self . _value_shape ) ) return values