tf.contrib.lookup.TableInitializerBase

class tf.contrib.lookup.TableInitializerBase

Base class for lookup table initializers.

Properties

key_dtype

The expected table key dtype.

value_dtype

The expected table value dtype.

Methods

__init__(key_dtype, value_dtype)

Construct a table initializer object.

Args:

  • key_dtype: Type of the table keys.
  • value_dtype: Type of the table values.

initialize(table)

Returns the table initialization op.

Defined in tensorflow/contrib/lookup/lookup_ops.py.