| 16 | std::vector<float> data; |
| 17 | std::vector<int> shape; |
| 18 | int numel() const { |
| 19 | int n = 1; |
| 20 | for (auto d : shape) n *= d; |
| 21 | return n; |
| 22 | } |
| 23 | }; |
| 24 | |
| 25 | static ref_tensor load_ref(const std::string & path) { |
no outgoing calls
no test coverage detected