Unverified Commit 3a97b68c authored by Toby Boyd's avatar Toby Boyd Committed by GitHub
Browse files

fix lint issues. (#6855)

parent 85bdf764
......@@ -36,6 +36,7 @@ class EmbeddingSharedWeights(tf.keras.layers.Layer):
self.hidden_size = hidden_size
def build(self, input_shape):
"""Build embedding layer."""
with tf.name_scope("embedding_and_softmax"):
# Create and initialize weights. The random normal initializer was chosen
# arbitrarily, and works well.
......
......@@ -22,7 +22,6 @@ Metrics:
- ROUGE score. Source:
https://github.com/tensorflow/tensor2tensor/blob/master/tensor2tensor/utils/rouge.py
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
......
......@@ -12,8 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Optimizer from addons and learning rate scheduler.
"""
"""Optimizer from addons and learning rate scheduler."""
from __future__ import absolute_import
from __future__ import division
......
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