| 177 | throw std::runtime_error("NormConfig.hidden_size must be positive"); |
| 178 | } |
| 179 | if (!(config.eps > 0.0f)) { |
| 180 | throw std::runtime_error("NormConfig.eps must be positive"); |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | template <typename NormFn> |
| 185 | core::TensorValue build_norm( |
| 186 | core::ModuleBuildContext & ctx, |
| 187 | const core::TensorValue & input, |
no test coverage detected