contrib.lookup.TableInitializerBase

tf.contrib.lookup.TableInitializerBase

class tf.contrib.lookup.TableInitializerBase

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

Base class for lookup table initializers.

Properties

key_dtype

The expected table key dtype.

value_dtype

The expected table value dtype.

Methods

__init__

__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

initialize(table)

Returns the table initialization op.

© 2017 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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部