optimization algorithm and loss function on neural networks are now a knob