MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / embed_reference

Method embed_reference

src/models/chatterbox/s3_tokenizer_impl.cpp:877–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

875
876const std::shared_ptr<const S3TokenizerComponentWeights> & S3TokenizerComponent::weights() const noexcept {
877 return weights_;
878}
879
880TokenizerOutputs 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}

Callers

nothing calls this directly

Calls 2

compute_s3_embed_refFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected