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

Function repeat_like

src/framework/modules/conditioning_modules.cpp:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20core::TensorValue repeat_like(
21 core::ModuleBuildContext & ctx,
22 const core::TensorValue & value,
23 const core::TensorValue & like) {
24 return core::wrap_tensor(ggml_repeat(ctx.ggml, value.tensor, like.tensor), like.shape, GGML_TYPE_F32);
25}
26
27core::TensorValue expand_conditioning_like(
28 core::ModuleBuildContext & ctx,

Callers 3

expand_conditioning_likeFunction · 0.70
variance_rms_normFunction · 0.70
buildMethod · 0.70

Calls 2

wrap_tensorFunction · 0.85
ggml_repeatFunction · 0.85

Tested by

no test coverage detected