NLBAC: A Neural Ordinary Differential Equations-based Framework for Stable and Safe Reinforcement Learning