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

Function graph_scale_bias

src/framework/audio/zipenhancer.cpp:415–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415core::TensorValue graph_scale_bias(core::ModuleBuildContext & ctx, const core::TensorValue & input, float scale, float bias) {
416 const auto contiguous = core::ensure_backend_addressable_layout(ctx, input);
417 return core::wrap_tensor(ggml_scale_bias(ctx.ggml, contiguous.tensor, scale, bias), input.shape, GGML_TYPE_F32);
418}
419
420core::TensorValue graph_reshape(
421 core::ModuleBuildContext & ctx,

Callers 3

graph_softplus_shiftedFunction · 0.70
graph_swoosh_lFunction · 0.70
graph_swoosh_rFunction · 0.70

Calls 3

wrap_tensorFunction · 0.85
ggml_scale_biasFunction · 0.85

Tested by

no test coverage detected