| 74 | } |
| 75 | |
| 76 | std::vector<dnnc::ioNode *> dnnc::cppCodeGen::modelInputs() { |
| 77 | std::vector<ioNode *> ins; |
| 78 | for (ioNode *term : _graph.inputs()) |
| 79 | if (paramFile(term->name()).empty()) |
| 80 | ins.push_back(term); |
| 81 | return ins; |
| 82 | } |
| 83 | |
| 84 | // \brief get parametre file, given term/param name |
| 85 | std::string dnnc::cppCodeGen::paramFile(std::string param_name) { |