8000 Tags · nzmora/tnt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: nzmora/tnt

Tags

v0.0.5

Toggle v0.0.5's commit message
Fix TimeMeter to track a counter value and return time per unit count. (

pytorch#123)

* Fix TimeMeter to track a counter value and return time per unit count.

Even though the documentation states that TimeMeter returns the time passed since the last `reset()` divided by the counter value when `unit=True`, this was not actually the case. This fix updates the code to do what's described in the documentation.

* Clean up whitespace to pass flake tests.

* Raise error if trying to divide by zero in TimeMeter.

v0.0.4

Toggle v0.0.4's commit message
deploy from master

0