Energy aware trajectory optimization using DRL in humanoid robot through via-point learning | Synapse