A neural ordinary differential equation framework for modeling inelastic stress response via internal state variables