| 527 | } |
| 528 | |
| 529 | static const char* FindDataTypeStr(datatype_t dt) { |
| 530 | for (int i = 0; !g_str2datatype[i].first.empty(); ++i) { |
| 531 | if (g_str2datatype[i].second == dt) { |
| 532 | return g_str2datatype[i].first.c_str(); |
| 533 | } |
| 534 | } |
| 535 | return nullptr; |
| 536 | } |
| 537 | |
| 538 | static bool SetInputsOneByOne(const string& input_files_str, const vector<vector<int64_t>>& input_shapes, |
| 539 | Runtime* runtime, vector<string>* input_data) { |
no outgoing calls
no test coverage detected