Skip to content

Comments

codemod for 0.4#331

Merged
soumith merged 5 commits intopytorch:0.4from
ssnl:0_4
Apr 24, 2018
Merged

codemod for 0.4#331
soumith merged 5 commits intopytorch:0.4from
ssnl:0_4

Conversation

@ssnl
Copy link
Contributor

@ssnl ssnl commented Apr 16, 2018

No description provided.

@ssnl ssnl mentioned this pull request Apr 20, 2018
@soumith soumith merged commit 01c54ac into pytorch:0.4 Apr 24, 2018
@ssnl ssnl deleted the 0_4 branch April 24, 2018 15:00
soumith added a commit that referenced this pull request Apr 24, 2018
* codemod for 0.4

* better IN key removal

* fix ac

* update to use some device

* rnn flatten_param
prec1, prec5 = accuracy(output.data, target, topk=(1, 5))
losses.update(loss.data[0], input.size(0))
prec1, prec5 = accuracy(output, target, topk=(1, 5))
losses.update(loss.item() input.size(0))

This comment was marked as off-topic.

This comment was marked as off-topic.

YinZhengxun pushed a commit to YinZhengxun/mt-exercise-02 that referenced this pull request Mar 30, 2025
* codemod for 0.4

* better IN key removal

* fix ac

* update to use some device

* rnn flatten_param
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants