pytorch
1da633f9 - Access named parameters/buffers/etc via getattr rather than index (#89625)

Commit
2 years ago
Access named parameters/buffers/etc via getattr rather than index (#89625) I'm not sure why this never caused problems before. The error manifests as `TypeError: 'MyModule' object is not subscriptable` Signed-off-by: Edward Z. Yang <ezyang@fb.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/89625 Approved by: https://github.com/albanD
Author
Committer
Parents
Loading