- Jan 10, 2021
-
-
Bhatu authored
Now user does not have to manually copy generated cpp files into network directories of SCI and Porthos and edit CMakeFiles. Once SCI and Porthos libraries are built the CompileTFGraph.py can directly compile the generated cpp files and link them against SCI/Porthos.
-
- Dec 23, 2020
-
-
Bhatu authored
Usage: python CompileTFGraph.py --config config.json where a sample config.json looks like this: { "model_name":"full_kernel.pb", "input_tensors":{ "actual_input_1":"2,245,234,3", "input2":"2,245,234,3" }, "output_tensors":[ "output1", "output2" ], "scale":10, "bitlength":63, "mode":"SCI", "save_weights" : true } Do python CompileTFGraph.py --help for seeing all the options.
-