Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
from six.moves import xrange (#533)
Browse files Browse the repository at this point in the history
* from six.moves import xrange

__xrange()__ was removed from Python 3 in favor of __range()__.

* # pylint: disable=redefined-builtin
  • Loading branch information
cclauss authored and rsepassi committed Jan 23, 2018
1 parent a1d7ed7 commit afba9dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tensor2tensor/models/transformer_vae.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from __future__ import division
from __future__ import print_function
# Dependency imports
from six.moves import xrange # pylint: disable=redefined-builtin
from tensor2tensor.layers import common_layers
from tensor2tensor.models import transformer
from tensor2tensor.utils import expert_utils
Expand Down

0 comments on commit afba9dc

Please sign in to comment.