Understanding Generalization and Robustess of Learned Representations of Chaotic Dynamical Systems