| 601 | strata::kernels::QsaShapes shapes_of(const ModelGeometry& g) { return qsa_shapes(g); } |
| 602 | |
| 603 | const WeightRef* need(const LayerView& v, const char* suffix, std::string& err) { |
| 604 | const WeightRef* r = v.get(suffix); |
| 605 | if (r == nullptr && err.empty()) err = v.name(suffix) + " is missing"; |
| 606 | return r; |
| 607 | } |
| 608 | |
| 609 | bool native_of(const WeightRef* w, const std::string& name, std::string& err) { |
| 610 | if (w == nullptr) return false; |
no test coverage detected