Understanding invariance via feedforward inversion of discriminatively trained classifiers