Created
April 30, 2019 03:28
-
-
Save ChunML/6c33df5d462f226f4f0a3a7ee004867b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
look_left_only_mask = tf.linalg.band_part(tf.ones((seq_len, seq_len)), -1, 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment