| 29 | std::vector<float> data; |
| 30 | std::vector<int> shape; |
| 31 | int numel() const { |
| 32 | int n = 1; |
| 33 | for (auto d : shape) n *= d; |
| 34 | return n; |
| 35 | } |
| 36 | }; |
| 37 | |
| 38 | static ref_tensor load_ref(const std::string & path) { |
no outgoing calls
no test coverage detected