Automatic differentiation in machine learning: a survey | Synapse