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

Method encode_patch

src/models/voxcpm2/generator.cpp:621–624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619 if (ctx_ == nullptr) {
620 throw std::runtime_error(
621 "failed to initialize VoxCPM2 local encoder graph context");
622 }
623 engine::core::ModuleBuildContext ctx{ctx_.get(), "voxcpm2.local_encoder"};
624 const auto &feat_weights = weights_->weights().feat_encoder;
625 auto x = engine::core::make_tensor(
626 ctx, GGML_TYPE_F32,
627 engine::core::TensorShape::from_dims(

Callers 2

generate_onceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected