Skip to content

Conversation

@wjaskowski
Copy link
Contributor

No description provided.

<class 'torch.FloatTensor'> (20L, 1L, 5L, 5L)
"""
for name, param in self.named_parameters():
for name, param in self.named_parameters(memo):

This comment was marked as off-topic.

@wjaskowski wjaskowski changed the title Fixed passing memo in Module.parameters() Remove spurious memo argument in Module.parameters() May 10, 2017
@wjaskowski
Copy link
Contributor Author

I see. Fixed.

@apaszke apaszke merged commit 3a7e068 into pytorch:master May 10, 2017
@apaszke
Copy link
Contributor

apaszke commented May 10, 2017

Thanks!

caogang added a commit to caogang/pytorch that referenced this pull request May 11, 2017
* master: (26 commits)
  Fix Linear function
  Fix comparison functions
  Expose variable attribute of AccumulateGrad
  Don't modify non-volatile grads in zero_grad
  Minor fix in Prod backward
  Add new flags to Variable.backward
  Replace retain_variables with retain_graph
  Improve output wrapping logic in autograd
  Remove spurious memo argument in Module.parameters() (pytorch#1527)
  Make torch.cat not synchronize the host and device
  Reference counting documentation. (pytorch#1520)
  Restore examples with keepdim=True default.
  Explicitly pass keepdim=False for tests that require it.
  Change keepdim default to False.
  Fix test_normalize NN test.
  Add a keepdim test to torch_test.
  Make (non-legacy) nn backwards compatible.
  Add autograd tests for keepdim
  Add documentation for keepdim.
  Change all legacy/nn modules to use keepdim=True (even if tests don't fail).
  ...

# Conflicts:
#	torch/autograd/_functions/reduce.py
#	torch/autograd/variable.py
Jiaming-Liu pushed a commit to Jiaming-Liu/pytorch that referenced this pull request May 18, 2017
zasdfgbnm pushed a commit to zasdfgbnm/pytorch that referenced this pull request Mar 31, 2022
pytorch-bot bot pushed a commit that referenced this pull request Aug 16, 2024
skip unit test on !rocm
pytorch-bot bot pushed a commit that referenced this pull request Oct 9, 2024
skip unit test on !rocm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants