Hi,
I want to go from a torch::jit::Operator or a torch::jit::Node for an op it in a particular graph to the torch::jit::Graph that represents its derivative.
I think this information is encoded in some form in derivatives.yaml, but I’m not sure how to get it from the APIs available.
Either Python Node’s / Graphs or C++ would work for my purposes.
Thanks for any tips!