diff --git a/tensor2tensor/models/transformer_vae.py b/tensor2tensor/models/transformer_vae.py index 4b91f777e..ec87f6a86 100644 --- a/tensor2tensor/models/transformer_vae.py +++ b/tensor2tensor/models/transformer_vae.py @@ -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