Sign in
android
/
platform
/
external
/
pytorch
/
aec09eeb3a570bb79c642e8ae540b3981e7d69cd
/
.
/
caffe2
/
contrib
/
playground
/
meter.py
blob: ed0158bbf087c7877ed206b27a411836deb6e754 [
file
] [
log
] [
blame
]
from
abc
import
abstractmethod
class
Meter
(
object
):
@abstractmethod
def
__init__
(
self
,
**
kwargs
):
pass
@abstractmethod
def
Reset
(
self
):
pass
@abstractmethod
def
Add
(
self
):
pass
@abstractmethod
def
Compute
(
self
):
pass