| 81 | } |
| 82 | |
| 83 | bool validate_num(const std::string &num) |
| 84 | { |
| 85 | for (int i = 0; i < num.length(); i++) |
| 86 | if (!isdigit(num[i])) |
| 87 | return false; |
| 88 | |
| 89 | return true; |
| 90 | } |
| 91 | |
| 92 | bool validate_name(const std::string &tensor_name) |
| 93 | { |
no test coverage detected