MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _remove_redundant_stack_unstack

Function _remove_redundant_stack_unstack

tensorflow/lite/python/op_hint.py:1129–1135  ·  view source on GitHub ↗
(graph_def)

Source from the content-addressed store, hash-verified

1127
1128
1129def _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
1138def _get_correct_mapping(original_index, nodes):

Callers 1

Tested by

no test coverage detected