Text this: Reinforcement learning-based dynamic pruning for distributed inference via explainable AI in healthcare IoT systems