Fix a bunch of codacy code-style issues

This commit is contained in:
blackfly
2020-04-11 15:47:26 +02:00
parent 8f3a43f62a
commit 8c629c0cb1
5 changed files with 23 additions and 14 deletions

View File

@@ -7,7 +7,6 @@ from prototorch.functions.losses import glvq_loss
class GLVQLoss(torch.nn.Module):
"""GLVQ Loss."""
def __init__(self, margin=0.0, squashing='identity', beta=10, **kwargs):
super().__init__(**kwargs)
self.margin = margin