Skip to content

Commit

Permalink
xrange() was removed for Python on 1/1/2020
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Jul 23, 2021
1 parent eac3088 commit 1e85949
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dnc/addressing_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
from dnc import addressing
from dnc import util

try:
xrange
except NameError:
xrange = range


class WeightedSoftmaxTest(tf.test.TestCase):

Expand Down

0 comments on commit 1e85949

Please sign in to comment.