Skip to content
Snippets Groups Projects
  1. Jan 10, 2021
    • Bhatu's avatar
      Add support to directly link code with SCI, Porthos · 4346e966
      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.
      4346e966
  2. Dec 23, 2020
    • Bhatu's avatar
      Add grappler opts and new script to compile graphs. · 895c57d2
      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.
      895c57d2
Loading