Computational Symmetry and Learning for Generalizable Robot Perception