We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 474c885 commit 38c2169Copy full SHA for 38c2169
texar/torch/run/metric/classification.py
@@ -136,7 +136,7 @@ def class_id(self):
136
return self._class_id
137
138
def better(self, cur: Value, prev: Value) -> Optional[bool]:
139
- #pylint: disable=unused-argument
+ # pylint: disable=unused-argument
140
# Always return `None` to indicate values are uncomparable.
141
return None
142
texar/torch/run/metric/summary.py
@@ -164,7 +164,7 @@ def value(self) -> float:
164
return self.optimizer().param_groups[self.group]['lr'] # type: ignore
165
166
def better(self, cur: float, prev: float) -> Optional[bool]:
167
168
169
170
0 commit comments