Text this: Neural network implementation of model predictive control with stability guarantees