TableInitializerBase
Defined in tensorflow/python/ops/lookup_ops.py.
Base class for lookup table initializers.
key_dtypeThe expected table key dtype.
value_dtypeThe expected table value dtype.
__init____init__(
key_dtype,
value_dtype
)
Construct a table initializer object.
key_dtype: Type of the table keys.value_dtype: Type of the table values.initializeinitialize(table)
Returns the table initialization op.
© 2018 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/api_docs/python/tf/contrib/lookup/TableInitializerBase