Text this: Closed-Form Continuous-Time Neural Networks for Sliding Mode Control with Neural Gravity Compensation