Add layer to perform RBF interpolation in reduced order modeling
Added the RBFLayer class in the pina/model/layers folder, and updated tutorial8 with a comparison between POD-RBF and POD-NN approaches in reduced order modeling framework.
Fine for me, we can merge @dario-coscia
Hi @annaivagnes ! Thanks for the PR updates. I have a minor question: does the layer work correctly on a different device than cpu? Also, it would be great to add pytests for the layer, like in the pod tests. After test addition for me it can also be merged
@dario-coscia thanks for the suggestions, I changed RBFLayer into RBFBlock and added some tests. It also works with GPU!
Great! Thanks @annaivagnes this addition looks useful🚀🚀 @ndem0 we can merge for me