pyg-team / pytorch_geometric

Graph Neural Network Library for PyTorch
https://pyg.org
MIT License
20.52k stars 3.57k forks source link

Respect `torch.nn.Module.children` in `Sequential` #9446

Closed akihironitta closed 6 days ago

akihironitta commented 1 week ago

Fixes #9437.

This issue was introduced in #9369 since the name children is reserved in PyTorch. See https://github.com/pytorch/pytorch/blob/b57fa8d9c07b0e03afbe5dab279aa26697b828ea/torch/nn/modules/module.py#L2352-L2359.

akihironitta commented 1 week ago

I believe there's no need for an entry in changelog as #9369 hasn't been included in any release yet.