Skip to content

Commit

Permalink
Remove unused comments related to Python 2 compatibility.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 436387682
  • Loading branch information
yilei authored and Copybara-Service committed Mar 22, 2022
1 parent 8538149 commit 2c4523c
Show file tree
Hide file tree
Showing 25 changed files with 0 additions and 25 deletions.
1 change: 0 additions & 1 deletion tensorflow_graphics/datasets/features/__init__.py
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""`tensorflow_graphics.datasets.features` API defining feature types."""

from tensorflow_graphics.datasets.features.camera_feature import Camera
Expand Down
1 change: 0 additions & 1 deletion tensorflow_graphics/datasets/features/camera_feature.py
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Camera feature."""

from __future__ import absolute_import
Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Tests for tensorflow_graphics.datasets.features.camera_feature."""

from __future__ import absolute_import
Expand Down
1 change: 0 additions & 1 deletion tensorflow_graphics/datasets/features/pose_feature.py
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""3D Pose feature."""

from __future__ import absolute_import
Expand Down
1 change: 0 additions & 1 deletion tensorflow_graphics/datasets/features/pose_feature_test.py
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Tests for tensorflow_graphics.datasets.features.pose_feature."""

from __future__ import absolute_import
Expand Down
1 change: 0 additions & 1 deletion tensorflow_graphics/datasets/features/trimesh_feature.py
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Triangle mesh feature."""

from __future__ import absolute_import
Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Tests for tensorflow_graphics.datasets.features.trimesh_feature."""

from __future__ import absolute_import
Expand Down
1 change: 0 additions & 1 deletion tensorflow_graphics/datasets/features/voxel_feature.py
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Voxel grid feature."""

from __future__ import absolute_import
Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Tests for tensorflow_graphics.datasets.features.voxel_feature."""

from __future__ import absolute_import
Expand Down
1 change: 0 additions & 1 deletion tensorflow_graphics/datasets/modelnet40/__init__.py
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""`tensorflow_graphics.datasets.modelnet40` module."""

from tensorflow_graphics.datasets.modelnet40.modelnet40 import ModelNet40
Expand Down
1 change: 0 additions & 1 deletion tensorflow_graphics/datasets/modelnet40/modelnet40.py
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""ModelNet40 classification dataset from https://modelnet.cs.princeton.edu."""

import os
Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Download, computes and stores the checksums."""

from absl import app
Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Generates fake data for testing."""

import os
Expand Down
1 change: 0 additions & 1 deletion tensorflow_graphics/datasets/modelnet40/modelnet40_run.py
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Simple demo of modelnet40 dataset.
See: https://www.tensorflow.org/datasets/api_docs/python/tfds/load
Expand Down
1 change: 0 additions & 1 deletion tensorflow_graphics/datasets/modelnet40/modelnet40_show.py
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Visualization in 3D of modelnet40 dataset.
See: https://www.tensorflow.org/datasets/api_docs/python/tfds/load
Expand Down
1 change: 0 additions & 1 deletion tensorflow_graphics/datasets/modelnet40/modelnet40_test.py
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Tests the ModelNet40 dataset with fake data."""

import os
Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Utility modules for evaluating model from checkpoint.
"""

Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Implementations of various implicit function networks architectures.
"""

Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Local Implicit Grid layer implemented in Tensorflow.
"""

Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Model for voxel grid-to-grid encoding."""

import math
Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Model for part autoencoder."""

from __future__ import absolute_import
Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Additional data utilities for point preprocessing.
"""

Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Postprocess to remove interior backface from reconstruction artifact.
"""
import numpy as np
Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Utility modules for reconstructing scenes.
"""

Expand Down
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Code for performing regular grid interpolation for TF.
Works for arbitrary grid dimension. Only implemented linear interpolation.
Expand Down

0 comments on commit 2c4523c

Please sign in to comment.