Fix bug on the gradients graph computation caused by an Assign node - C++ API (#12397)
* Fix bug on the gradients graph computation caused by an Assign node. * Adding a reachable_nodes array to the gradient computation graph. * Adding test cases when the Var has unreachable nodes.
Loading
Please sign in to comment