| 48 | }; |
| 49 | |
| 50 | std::string shape_string(const engine::assets::TensorDataF32 & tensor) { |
| 51 | std::ostringstream oss; |
| 52 | oss << "["; |
| 53 | for (size_t i = 0; i < tensor.shape.rank; ++i) { |
| 54 | if (i != 0) { |
| 55 | oss << ","; |
| 56 | } |
| 57 | oss << tensor.shape.dims[i]; |
| 58 | } |
| 59 | oss << "]"; |
| 60 | return oss.str(); |
| 61 | } |
| 62 | |
| 63 | std::vector<float> require_channel_param( |
| 64 | const std::shared_ptr<const engine::assets::TensorSource> & source, |
no test coverage detected