Machine Learning, Deep Learning, Theano, TensorFlow, Framework.
Computation Graph toolkit and auto-differentiation module or use an external package for both. Since the derivative at each node has to computed with respect to only its adjacent nodes, the method to compute gradients can be added to the class¹⁰ ¹¹ and can be invoked by the differentiation module.