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

Method has_tensor

src/models/vibevoice/assets.cpp:257–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255 assets::require_tensor_shape(
256 weights,
257 "model.prediction_head.final_layer.linear.weight",
258 {config.diffusion_head.latent_size, decoder.hidden_size});
259
260 assets::require_tensor_shape(
261 weights,
262 "model.acoustic_tokenizer.encoder.downsample_layers.0.0.conv.conv.weight",
263 {config.acoustic_tokenizer.encoder_n_filters, config.acoustic_tokenizer.channels, 7});
264 assets::require_tensor_shape(
265 weights,
266 "model.acoustic_tokenizer.decoder.head.conv.conv.weight",
267 {config.acoustic_tokenizer.channels, config.acoustic_tokenizer.decoder_n_filters, 7});

Calls 3

stringFunction · 0.50
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected