Skip to content

Tags: sashaDoubov/tnt

Tags

0.0.5.1

Toggle 0.0.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump to 0.0.5.1

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