forked from 626_privacy/tensorflow_privacy
more lint
This commit is contained in:
parent
801e6eef1c
commit
f470ae4a7c
2 changed files with 6 additions and 6 deletions
|
@ -23,7 +23,7 @@ if LooseVersion(tf.__version__) < LooseVersion("2.0.0"):
|
||||||
if hasattr(sys, "skip_tf_privacy_import"): # Useful for standalone scripts.
|
if hasattr(sys, "skip_tf_privacy_import"): # Useful for standalone scripts.
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
from privacy.bolton.models import BoltonModel
|
from privacy.bolton.models import BoltonModel # pylint: disable=import-not-at-top
|
||||||
from privacy.bolton.optimizers import Bolton
|
from privacy.bolton.optimizers import Bolton # pylint: disable=import-not-at-top
|
||||||
from privacy.bolton.losses import StrongConvexHuber
|
from privacy.bolton.losses import StrongConvexHuber # pylint: disable=import-not-at-top
|
||||||
from privacy.bolton.losses import StrongConvexBinaryCrossentropy
|
from privacy.bolton.losses import StrongConvexBinaryCrossentropy # pylint: disable=import-not-at-top
|
||||||
|
|
|
@ -17,8 +17,8 @@ from __future__ import absolute_import
|
||||||
from __future__ import division
|
from __future__ import division
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager # pylint: disable=importing-member
|
||||||
from io import StringIO
|
from io import StringIO # pylint: disable=importing-member
|
||||||
import sys
|
import sys
|
||||||
from absl.testing import parameterized
|
from absl.testing import parameterized
|
||||||
import tensorflow as tf
|
import tensorflow as tf
|
||||||
|
|
Loading…
Reference in a new issue