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

Method flatten

tensorflow/lite/python/op_hint.py:577–579  ·  view source on GitHub ↗

Return a list of all node names in aggregation sorted sorter.

(self)

Source from the content-addressed store, hash-verified

575 return self.flattened
576
577 def flatten(self):
578 """Return a list of all node names in aggregation sorted sorter."""
579 return [_tensor_name_base(x.name) for x in self.flatten_nodes()]
580
581 def aggregate_and_return_name_for_input(self, out_graphdef):
582 """This adds the nodes to out_graphdef and returns an aggregated output.

Callers

nothing calls this directly

Calls 2

flatten_nodesMethod · 0.95
_tensor_name_baseFunction · 0.85

Tested by

no test coverage detected