(graph_def)
| 1127 | |
| 1128 | |
| 1129 | def _remove_redundant_stack_unstack(graph_def): |
| 1130 | curr = graph_def |
| 1131 | del graph_def |
| 1132 | changed_stuff = True |
| 1133 | while changed_stuff: |
| 1134 | curr, changed_stuff = _remove_one_redundant_stack_unstack(curr) |
| 1135 | return curr |
| 1136 | |
| 1137 | |
| 1138 | def _get_correct_mapping(original_index, nodes): |
no test coverage detected