Learning Humanoid Robot Motions Through Deep Neural Networks