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

Function ensure_contiguous

src/models/ace_step/diffusion.cpp:53–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51};
52
53core::TensorValue ensure_contiguous(core::ModuleBuildContext & ctx, const core::TensorValue & input) {
54 return core::ensure_backend_addressable_layout(ctx, input);
55}
56
57core::TensorValue ensure_f32(core::ModuleBuildContext & ctx, const core::TensorValue & input) {
58 if (input.type == GGML_TYPE_F32) {

Callers 6

matmul_f32Function · 0.70
reshape_headsFunction · 0.70
attention_from_headsFunction · 0.70
build_attentionFunction · 0.70
slice_conditioning_planeFunction · 0.70
buildMethod · 0.70

Calls 1

Tested by

no test coverage detected