(self, grad_op, idx, cnt)
| 781 | break |
| 782 | |
| 783 | def _DisambiguateGradOpOutput(self, grad_op, idx, cnt): |
| 784 | new_grad_output = ( |
| 785 | '_' + grad_op.output[idx] + '_autosplit_{}'.format(cnt)) |
| 786 | if grad_op.type == "If": |
| 787 | disambiguate_grad_if_op_output(grad_op, idx, new_grad_output) |
| 788 | else: |
| 789 | grad_op.output[idx] = new_grad_output |
| 790 | return grad_op.output[idx], cnt + 1 |
| 791 | |
| 792 | def _CheckSumOpsConflict(self, out_base_name, g): |
| 793 | if str(out_base_name) == str(g): |
no test coverage detected