| 335 | } |
| 336 | |
| 337 | std::vector<double> reshape(const std::vector<std::vector<double>> &X) { |
| 338 | std::vector<double> x; |
| 339 | for (const auto &vec : X) { |
| 340 | for (const auto &item : vec) { |
| 341 | x.emplace_back(item); |
| 342 | } |
| 343 | } |
| 344 | return x; |
| 345 | } |
| 346 | |
| 347 | std::vector<double> concat(const std::vector<double> &a, |
| 348 | const std::vector<double> &b) { |
no outgoing calls
no test coverage detected