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: 440422378
  • Loading branch information
yilei authored and copybara-github committed Apr 8, 2022
1 parent 1a66a9f commit 22f7e8f
Show file tree
Hide file tree
Showing 24 changed files with 0 additions and 24 deletions.
1 change: 0 additions & 1 deletion aptamers_mlpd/search/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Functions for interacting with the search.proto.
"""

Expand Down
1 change: 0 additions & 1 deletion aptamers_mlpd/search/search_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
# pylint: disable=line-too-long
r"""Run inference on random sequences many times, saving the top results.
Expand Down
1 change: 0 additions & 1 deletion aptamers_mlpd/search/search_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Functions for pipeline functions for picking aptamers using trained models.
"""

Expand Down
1 change: 0 additions & 1 deletion aptamers_mlpd/search/walkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Classes used for exploring around a given seed, using different algorithms.
"""
Expand Down
1 change: 0 additions & 1 deletion aptamers_mlpd/util/dna.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Utilites for working with DNA data.
"""

Expand Down
1 change: 0 additions & 1 deletion aptamers_mlpd/util/io_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""IO related utilities for aptamers."""

import datetime
Expand Down
1 change: 0 additions & 1 deletion aptamers_mlpd/util/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Functions for interacting with the search.proto.
"""

Expand Down
1 change: 0 additions & 1 deletion aptamers_mlpd/util/selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Utility functions for creating and using selection_pb2 protos.
See the proto file itself for detailed documentation on these fields.
Expand Down
1 change: 0 additions & 1 deletion conqur/atari.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Implements functionalities associated with Atari."""

from dopamine.discrete_domains import atari_lib
Expand Down
1 change: 0 additions & 1 deletion conqur/conqur_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""ConQUR agent to fine-tune the second-last layer of a Q-network."""
import collections

Expand Down
1 change: 0 additions & 1 deletion conqur/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Wrapper class for environment."""

import numpy as np
Expand Down
1 change: 0 additions & 1 deletion conqur/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Code for running ConQUR training.
Refer to the paper ConQUR: Mitigating Delusional Bias in Deep Q-learning
Expand Down
1 change: 0 additions & 1 deletion data_free_distillation/main/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Generator models."""

from __future__ import absolute_import
Expand Down
1 change: 0 additions & 1 deletion data_free_distillation/main/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Proves access to models for student and teacher."""

from data_free_distillation.main import resnet
Expand Down
1 change: 0 additions & 1 deletion data_free_distillation/main/resnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Defines Residual Networks with basic blocks.
The networks implemented in this module is for training on CIFAR-10 dataset.
Expand Down
1 change: 0 additions & 1 deletion data_free_distillation/main/resnet_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Tests for ResNet."""

from __future__ import absolute_import
Expand Down
1 change: 0 additions & 1 deletion deep_homography/hmg_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python2, python3
"""Utility functions for deep homography estimation."""

from __future__ import absolute_import
Expand Down
1 change: 0 additions & 1 deletion deep_homography/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python2, python3
"""Homography estimation neural network models."""

from __future__ import absolute_import
Expand Down
1 change: 0 additions & 1 deletion deep_homography/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python2, python3
"""Functions to test neural networks on real-world images.
"""
Expand Down
1 change: 0 additions & 1 deletion deep_homography/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python2, python3
"""Tensorflow code for training and evaluating deep homography models."""

from __future__ import absolute_import
Expand Down
1 change: 0 additions & 1 deletion disarm/binary/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Dataset for DisARM experiments."""
import scipy.io
import tensorflow as tf
Expand Down
1 change: 0 additions & 1 deletion disarm/binary/experiment_launcher_multilayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Binary for the DisARM experiments on VAE with multiple stochastic layers."""

import os
Expand Down
1 change: 0 additions & 1 deletion disarm/binary/experiment_launcher_singlelayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Binary for the DisARM experiments on VAE with a single stochastic layer."""

import os
Expand Down
1 change: 0 additions & 1 deletion disarm/binary/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Trainable models for DisARM experiments."""
import tensorflow as tf
import tensorflow_probability as tfp
Expand Down

0 comments on commit 22f7e8f

Please sign in to comment.