ML-based resiliency of autonomous vehicle applications