Do deep networks transfer invariances across classes?