| 30 | }; |
| 31 | |
| 32 | static std::string shape_to_string(const std::vector<int> & shape) { |
| 33 | std::string s; |
| 34 | for (size_t i = 0; i < shape.size(); ++i) { |
| 35 | if (i > 0) s += "x"; |
| 36 | s += std::to_string(shape[i]); |
| 37 | } |
| 38 | return s; |
| 39 | } |
| 40 | |
| 41 | static metric_row compute_metrics(const std::string & tensor, |
| 42 | const float * got, |
no outgoing calls
no test coverage detected