"tests/vscode:/vscode.git/clone" did not exist on "737d7fc3b00bd970db7dd54aa04be850b7533495"
Commit 7b8024c2 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower
Browse files

Internal change

PiperOrigin-RevId: 306136233
parent 7194a5cc
......@@ -1019,7 +1019,8 @@ class Summarization(tf.keras.layers.Layer):
summary = inputs[0]
else:
raise ValueError('Invalid summary type provided: %s' % self.summary_type)
summary = self.proj_layer(summary)
if self.use_proj:
summary = self.proj_layer(summary)
summary = self.dropout_layer(summary)
return summary
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment