Skip to content

Commit e74267a

Browse files
dzhwintergongweibao
authored andcommitted
"fix comp bug. test=develop" (#14104)
1 parent 70ce6dc commit e74267a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/fluid/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def update(self, preds, labels):
194194
or soft-label, should custom the corresponding update rule.
195195
"""
196196
for m in self._metrics:
197-
ans.append(m.update(preds, labels))
197+
m.update(preds, labels)
198198

199199
def eval(self):
200200
"""

0 commit comments

Comments
 (0)