Hi,
I see there are several pytorch implementations of MAML around, eg:

https://github.com/katerakelly/pytorch-maml/tree/master/src 33
https://github.com/dragen1860/MAML-Pytorch 34

… however they all seem to work by using torch.nn.functional, rather than using the nn.Module form, and then eg somehow iterating over model.parameters().
Is this a fundamental limitation of pytorch? Or is there some way of running MAML, without having to rewrite the entire network in functional form?