partition function

Partition a layer into subgroups (Layer operation)