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

Function repeat_like

src/models/miocodec/graph_ops.cpp:161–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161core::TensorValue repeat_like(
162 core::ModuleBuildContext & ctx,
163 const core::TensorValue & value,
164 const core::TensorValue & like,
165 const core::TensorShape & broadcast_shape) {
166 const auto reshaped = core::reshape_tensor(ctx, value, broadcast_shape);
167 return core::wrap_tensor(ggml_repeat(ctx.ggml, reshaped.tensor, like.tensor), like.shape, GGML_TYPE_F32);
168}
169
170core::TensorValue apply_gamma(
171 core::ModuleBuildContext & ctx,

Callers 3

apply_gammaFunction · 0.70
apply_rope_exactFunction · 0.70
fsq_quantizedFunction · 0.70

Calls 3

reshape_tensorFunction · 0.85
wrap_tensorFunction · 0.85
ggml_repeatFunction · 0.85

Tested by

no test coverage detected