Introducing AdaptDL, an Open Source resource adaptive deep-learning framework