This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
hummingbird
/
fastNLP
Not watched
Unwatch
Watch all
Watch but not notify
2
Star
0
Fork
0
Code
Releases
13
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
修改element的bug
tags/v1.0.0alpha
MorningForest
3 years ago
parent
9c62e300a7
commit
ea03967de9
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
fastNLP/core/metrics/element.py
+ 1
- 0
fastNLP/core/metrics/element.py
View File
@@ -75,6 +75,7 @@ class Element:
return self._value
def get_scalar(self) -> float:
self._check_value_initialized()
return self.backend.get_scalar(self._value)
def fill_value(self, value):
Write
Preview
Loading…
Cancel
Save