Learning Set-equivariant Functions with SWARM Mappings