| 36 | } |
| 37 | |
| 38 | bool startsWith(std::string const &Value, std::string const &Starting) { |
| 39 | if (Starting.size() > Value.size()) |
| 40 | return false; |
| 41 | return std::equal(Starting.begin(), Starting.end(), Value.begin()); |
| 42 | } |
| 43 | |
| 44 | void saveWeights(const std::unordered_map<std::string, mx::array> &Weights, |
| 45 | const std::string Path) { |
no test coverage detected