Text this: Homoclinic and Heteroclinic Neural ODEs: Theory and Its Use to Construct New Chaotic Attractors