| 91 | } |
| 92 | |
| 93 | NormWeights norm_weights(const WavlmEncoderWeights & weights, const std::string & prefix) { |
| 94 | return NormWeights{ |
| 95 | require_tensor(weights, prefix + ".weight"), |
| 96 | require_tensor(weights, prefix + ".bias")}; |
| 97 | } |
| 98 | |
| 99 | LinearWeights linear_weights(const WavlmEncoderWeights & weights, const std::string & prefix) { |
| 100 | return LinearWeights{ |
no test coverage detected