Efficient Machine Learning with Adam Optimizer