Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class per column. Ex:
import matplotlib.pyplot as plt # pylint: disable=g-import-not-at-top
import numpy as np
import core as pate
from six.moves import xrange # pylint: disable=redefined-builtin

plt.style.use('ggplot')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class per column. Ex:
import matplotlib.pyplot as plt # pylint: disable=g-import-not-at-top
import numpy as np
import core as pate
from six.moves import xrange # pylint: disable=redefined-builtin

plt.style.use('ggplot')

Expand Down
1 change: 1 addition & 0 deletions research/differential_privacy/pate/ICLR2018/rdp_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
import matplotlib.pyplot as plt # pylint: disable=g-import-not-at-top
import numpy as np
import core as pate
from six.moves import xrange # pylint: disable=redefined-builtin

plt.style.use('ggplot')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import numpy as np
import sonnet as snt
import tensorflow as tf
from six.moves import xrange # pylint: disable=redefined-builtin

from learning_unsupervised_learning import utils
from learning_unsupervised_learning import variable_replace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import numpy as np
import sonnet as snt
import tensorflow as tf
from six.moves import xrange # pylint: disable=redefined-builtin

from learning_unsupervised_learning import optimizers
from learning_unsupervised_learning import utils
Expand Down
1 change: 1 addition & 0 deletions research/learning_unsupervised_learning/summary_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import matplotlib.pyplot as plt
import scipy.signal

from six.moves import xrange # pylint: disable=redefined-builtin
from tensorflow.python.util import tf_should_use
from tensorflow.contrib.summary import summary_ops
from tensorflow.python.ops import summary_op_util
Expand Down
2 changes: 1 addition & 1 deletion research/learning_unsupervised_learning/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import itertools
import functools

from six.moves import xrange # pylint: disable=redefined-builtin
from tensorflow.core.framework import node_def_pb2
from tensorflow.python.framework import device as pydev
from tensorflow.python.framework import errors
Expand Down Expand Up @@ -284,4 +285,3 @@ def default_context_manager(reuse=None):
return out_ops

return wrapper