Merge pull request #25561 from HanGuo97:fix_reuse_in_dense

PiperOrigin-RevId: 232765756
This commit is contained in:
TensorFlower Gardener
2019-02-06 16:18:07 -08:00

View File

@@ -64,7 +64,7 @@ class Dense(keras_layers.Dense, base.Layer):
`GraphKeys.TRAINABLE_VARIABLES` (see `tf.Variable`).
name: String, the name of the layer. Layers with the same name will
share weights, but to avoid mistakes we require reuse=True in such cases.
reuse: Boolean, whether to reuse the weights of a previous layer
_reuse: Boolean, whether to reuse the weights of a previous layer
by the same name.
Properties: