Is there an equivalent to torch.nn.ModuleList in Rockpool ?
pbonazzi opened this issue · 5 comments
pbonazzi commented
I see I can easily convert a torch.nn.Module to TorchModule.
Is there an equivalent torch.nn.ModuleList/torch.nn.ConvTranspose2d in Rockpool ?
DylanMuir commented
Hi @pbonazzi , there's no equivalent to ModuleList
, but the rockpool.nn.combinators.Sequential
combinator is used to build feed-forward networks from a list of modules. Does that meet your needs? If not, what exactly do you need from ModuleList
?
torch.nn.ConvTranspose2d
should be able to be used natively in rockpool.
pbonazzi commented
Ok thank you Dylan. It does.
DylanMuir commented
Hi @pbonazzi , just wanted to check in — did you try using torch.nn.ConvTranspose2d
in Rockpool? What was your experience?
pbonazzi commented
It did not raise any error when I used it :)
DylanMuir commented
Great!