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

Function main

tensorflow/lite/python/create_custom_op.py:99–107  ·  view source on GitHub ↗
(argv)

Source from the content-addressed store, hash-verified

97
98
99def main(argv):
100 del argv # unused
101 graph = _read_graph_def(filename=flags.FLAGS.input_graph)
102 graph = _collapse_subgraph(
103 graph_def=graph,
104 inputs=flags.FLAGS.inputs.split(","),
105 outputs=flags.FLAGS.outputs.split(","),
106 op_definition=flags.FLAGS.op_definition)
107 _write_graph_def(graph_def=graph, filename=flags.FLAGS.output_graph)
108
109
110if __name__ == "__main__":

Callers

nothing calls this directly

Calls 4

_read_graph_defFunction · 0.85
_collapse_subgraphFunction · 0.85
_write_graph_defFunction · 0.85
splitMethod · 0.45

Tested by

no test coverage detected