Gradients for a Switch op is calculated using a Merge op. If the switch is a loop switch, it will be visited twice. We create the merge on the first visit, and update the other input of the merge on the second visit. A next_iteration is also added on second visit.
(op, *grad)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected