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

Method tokenize

src/models/chatterbox/s3_tokenizer_impl.cpp:866–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864 return component;
865}
866
867S3TokenizerComponent::S3TokenizerComponent(
868 std::shared_ptr<const S3TokenizerComponentWeights> weights,
869 const engine::core::ExecutionContext & execution_context)
870 : weights_(std::move(weights)), execution_context_(&execution_context) {}
871
872const engine::core::BackendConfig & S3TokenizerComponent::backend() const noexcept {
873 return execution_context_->config();
874}
875
876const std::shared_ptr<const S3TokenizerComponentWeights> & S3TokenizerComponent::weights() const noexcept {
877 return weights_;
878}

Callers 1

prepareMethod · 0.45

Calls 2

getMethod · 0.45

Tested by

no test coverage detected