mxnet.profiler.Counter¶
-
class
mxnet.profiler.
Counter
(domain, name, value=None)[source]¶ Profiling Counter class.
The counter event can track a value as it changes over time.
- Parameters
domain (Domain object) – Domain to which this object belongs
name (string) – Name of the counter
value (integer, optional) – Initial value of the counter
-
__init__
(domain, name, value=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(domain, name[, value])Initialize self.
decrement
([delta])Decrement counter value.
increment
([delta])Increment counter value.
set_value
(value)Set counter value.