Skip to content

Commit

Permalink
Migrate tensorflow_graphics/math to Python 3.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 359327706
  • Loading branch information
tensorflower-gardener authored and copybara-github committed Feb 24, 2021
1 parent aa46698 commit ebe4322
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions tensorflow_graphics/math/feature_representation.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from __future__ import division
from __future__ import print_function

from six.moves import range
import tensorflow as tf

from tensorflow_graphics.util import export_api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@
# limitations under the License.
"""Tests for trilinear interpolation."""

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.geometry.representation import grid
Expand Down
5 changes: 5 additions & 0 deletions tensorflow_graphics/math/interpolation/tests/weighted_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@
# limitations under the License.
"""Tests for google3.third_party.py.tensorflow_graphics.interpolation.weighted."""

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.math.interpolation import weighted
Expand Down
1 change: 1 addition & 0 deletions tensorflow_graphics/math/optimizer/levenberg_marquardt.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
from __future__ import division
from __future__ import print_function

from six.moves import zip
import tensorflow as tf

from tensorflow_graphics.util import export_api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@
# limitations under the License.
"""Tests for the Levenberg Marquardt optimizer."""

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 zip
import tensorflow as tf

from tensorflow_graphics.math.optimizer import levenberg_marquardt
Expand Down
1 change: 1 addition & 0 deletions tensorflow_graphics/math/spherical_harmonics.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from __future__ import print_function

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

from tensorflow_graphics.math import math_helpers
Expand Down

0 comments on commit ebe4322

Please sign in to comment.