| 875 | |
| 876 | const std::shared_ptr<const S3TokenizerComponentWeights> & S3TokenizerComponent::weights() const noexcept { |
| 877 | return weights_; |
| 878 | } |
| 879 | |
| 880 | TokenizerOutputs S3TokenizerComponent::tokenize( |
| 881 | const runtime::AudioBuffer & audio, |
| 882 | std::optional<int64_t> max_len) const { |
| 883 | return components::compute_s3tokenizer_v2_codes( |
| 884 | *weights_->runtime_weights, |
| 885 | audio, |
| 886 | max_len, |
| 887 | state_->cache.get(), |
| 888 | execution_context_->config()); |
| 889 | } |
nothing calls this directly
no test coverage detected