| 670 | } |
| 671 | |
| 672 | static const char* FindDataTypeStr(datatype_t dt) { |
| 673 | for (int i = 0; !g_str2datatype[i].first.empty(); ++i) { |
| 674 | if (g_str2datatype[i].second == dt) { |
| 675 | return g_str2datatype[i].first.c_str(); |
| 676 | } |
| 677 | } |
| 678 | return nullptr; |
| 679 | } |
| 680 | |
| 681 | static bool SetInputsOneByOne(const string& input_files_str, const vector<vector<int64_t>>& input_shapes, |
| 682 | Runtime* runtime, vector<string>* input_data) { |
no outgoing calls
no test coverage detected