Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
Python
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Python DummyMetricSum Examples
Programming Language:
Python
Namespace/Package Name:
tests.helpers.testers
Class/Type:
DummyMetricSum
Examples at hotexamples.com:
1
Python DummyMetricSum - 1 examples found
. These are the top rated real world Python examples of
tests.helpers.testers.DummyMetricSum
extracted from open source projects. You can rate examples to help us improve the quality of examples.
Frequently Used Methods
Show
Hide
DummyMetricSum(23)
reset(8)
update(8)
compute(6)
to(2)
_reductions(1)
clone(1)
double(1)
half(1)
load_state_dict(1)
persistent(1)
set_dtype(1)
state_dict(1)
Frequently Used Methods
DummyMetricSum (23)
reset (8)
update (8)
compute (6)
to (2)
_reductions (1)
clone (1)
double (1)
half (1)
load_state_dict (1)
Frequently Used Methods
persistent (1)
set_dtype (1)
state_dict (1)
Example #1
0
Show file
def test_metric_scripts(): torch.jit.script(DummyMetric()) torch.jit.script(DummyMetricSum())
x