forked from 626_privacy/tensorflow_privacy
more lint
This commit is contained in:
parent
f470ae4a7c
commit
d29f31ec44
2 changed files with 5 additions and 5 deletions
|
@ -23,7 +23,7 @@ if LooseVersion(tf.__version__) < LooseVersion("2.0.0"):
|
|||
if hasattr(sys, "skip_tf_privacy_import"): # Useful for standalone scripts.
|
||||
pass
|
||||
else:
|
||||
from privacy.bolton.models import BoltonModel # pylint: disable=import-not-at-top
|
||||
from privacy.bolton.optimizers import Bolton # pylint: disable=import-not-at-top
|
||||
from privacy.bolton.losses import StrongConvexHuber # pylint: disable=import-not-at-top
|
||||
from privacy.bolton.losses import StrongConvexBinaryCrossentropy # pylint: disable=import-not-at-top
|
||||
from privacy.bolton.models import BoltonModel # pylint: disable=g-import-not-at-top
|
||||
from privacy.bolton.optimizers import Bolton # pylint: disable=g-import-not-at-top
|
||||
from privacy.bolton.losses import StrongConvexHuber # pylint: disable=g-import-not-at-top
|
||||
from privacy.bolton.losses import StrongConvexBinaryCrossentropy # pylint: disable=g-import-not-at-top
|
||||
|
|
|
@ -25,7 +25,7 @@ from tensorflow.python.keras.utils import losses_utils
|
|||
from tensorflow.python.platform import tf_logging as logging
|
||||
|
||||
|
||||
class StrongConvexMixin:
|
||||
class StrongConvexMixin: # pylint: disable=old-style-class
|
||||
"""Strong Convex Mixin base class.
|
||||
|
||||
Strong Convex Mixin base class for any loss function that will be used with
|
||||
|
|
Loading…
Reference in a new issue