Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Fixing weight initialization in symbols modality #1196

Merged
merged 1 commit into from
Nov 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tensor2tensor/layers/modalities.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def top(self, body_output, _):

if self._model_hparams.shared_embedding_and_softmax_weights:
scope_name = "shared"
reuse = True
reuse = tf.AUTO_REUSE
else:
scope_name = "softmax"
reuse = False
Expand Down