A general distributed flexible and scalable platform for training big deep learning models over large datasets