DeepSets and their derivative networks for solving symmetric PDEs