diff options
author | Jianwei Xie <xiejw@google.com> | 2018-06-06 19:22:24 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-06-06 19:25:39 -0700 |
commit | 39cb0e4e5d7a1952178af66c74c4c40d44913f55 (patch) | |
tree | 6e2864d0eb16c32aeac1067f0c6c433bec376ce2 /tensorflow/python/feature_column | |
parent | cccbb9b7d4b1e9df592faca1d590a3484661496b (diff) |
Fix the docstring as it is stale. The initializer has no default in
EmbeddingColumnLayer.
PiperOrigin-RevId: 199571833
Diffstat (limited to 'tensorflow/python/feature_column')
-rw-r--r-- | tensorflow/python/feature_column/feature_column.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tensorflow/python/feature_column/feature_column.py b/tensorflow/python/feature_column/feature_column.py index 59801efc26..af2ead9b84 100644 --- a/tensorflow/python/feature_column/feature_column.py +++ b/tensorflow/python/feature_column/feature_column.py @@ -1782,9 +1782,7 @@ class _EmbeddingColumnLayer(base.Layer): Args: embedding_shape: Shape of the embedding variable used for lookup. initializer: A variable initializer function to be used in embedding - variable initialization. If not specified, defaults to - `tf.truncated_normal_initializer` with mean `0.0` and standard deviation - `1/sqrt(dimension)`. + variable initialization. weight_collections: A list of collection names to which the Variable will be added. Note that, variables will also be added to collections `tf.GraphKeys.GLOBAL_VARIABLES` and `ops.GraphKeys.MODEL_VARIABLES`. |