Skip to content

Commit

Permalink
Migrate tensorflow_graphics/image to Python 3.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 359305222
  • Loading branch information
tensorflower-gardener authored and Copybara-Service committed Feb 24, 2021
1 parent aa46698 commit dc2ca81
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions tensorflow_graphics/image/pyramid.py
Expand Up @@ -22,6 +22,7 @@
from __future__ import print_function

import numpy as np
from six.moves import range
import tensorflow as tf

from tensorflow_graphics.util import export_api
Expand Down
5 changes: 5 additions & 0 deletions tensorflow_graphics/image/tests/pyramid_test.py
Expand Up @@ -13,8 +13,13 @@
# limitations under the License.
"""Tests for image pyramids."""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

from absl.testing import parameterized
import numpy as np
from six.moves import range
import tensorflow as tf

from tensorflow_graphics.image import pyramid
Expand Down
1 change: 1 addition & 0 deletions tensorflow_graphics/image/transformer.py
Expand Up @@ -17,6 +17,7 @@
import enum
from typing import Optional

from six.moves import range
import tensorflow as tf
from tensorflow_addons import image as tfa_image

Expand Down

0 comments on commit dc2ca81

Please sign in to comment.