Skip to content

Commit

Permalink
typo fixed
Browse files Browse the repository at this point in the history
Thanks to Jack Harding for spotting
  • Loading branch information
shanest committed Feb 1, 2018
1 parent 95909a6 commit ca32e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quant_verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def length(data):
[-1, -1, quantifiers.Quantifier.num_chars])
used = tf.sign(tf.reduce_max(tf.abs(data), reduction_indices=2))
lengths = tf.reduce_sum(used, reduction_indices=1)
lengths = tf.cast(length, tf.int32)
lengths = tf.cast(lengths, tf.int32)
return lengths


Expand Down

0 comments on commit ca32e83

Please sign in to comment.