From Learning to Optimize to Learning Optimization Algorithms