Hi,
We are trying to calculate a loss function using networkx functions. Since networkx works with numpy arrays, the computation graph is broken and we cannot backpropagate with the loss. The loss doesn’t have a grad_fn attribute. How can we overcome the issue without having to re-implement the backward function?
Thanks