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

Method _flatten

tensorflow/lite/python/op_hint.py:699–703  ·  view source on GitHub ↗
(input_or_output_dict)

Source from the content-addressed store, hash-verified

697 Tuple of (inputs, outputs). where input and output i a list of names.
698 """
699 def _flatten(input_or_output_dict):
700 flattened_items = []
701 for item in input_or_output_dict.values():
702 flattened_items.extend(item.flatten())
703 return flattened_items
704
705 return _flatten(self.inputs), _flatten(self.outputs)
706

Callers

nothing calls this directly

Calls 3

valuesMethod · 0.45
extendMethod · 0.45
flattenMethod · 0.45

Tested by

no test coverage detected