Assigning parameter to tensor doesn't pass gradient info #77565
Labels
module: autograd
Related to torch.autograd, and the autograd engine in general
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Issue description
In the example below, assigning a parameter to tensor doesn't seem to pass gradient information, unless a list is used for indexing.
Code example
... is this behaviour expected?
cc @ezyang @albanD @zou3519 @gqchen @pearu @nikitaved @soulitzer @lezcano @Varal7
The text was updated successfully, but these errors were encountered: