(self, out_base_name, g)
| 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): |
| 794 | # TODO not sure what this message really means |
| 795 | raise RuntimeError( |
| 796 | 'The gradient output of empty gradient op can not ' |
| 797 | 'be the same as the normal name of the current ' |
| 798 | 'input gradient.') |
| 799 | |
| 800 | def _MakeDenseSumOps(self, generators, out_base_name): |
| 801 | sum_op_input = [] |
no outgoing calls
no test coverage detected