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

Function add_tensors

src/framework/modules/conditioning_modules.cpp:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57core::TensorValue add_tensors(
58 core::ModuleBuildContext & ctx,
59 const core::TensorValue & lhs,
60 const core::TensorValue & rhs) {
61 return core::wrap_tensor(ggml_add(ctx.ggml, lhs.tensor, rhs.tensor), lhs.shape, GGML_TYPE_F32);
62}
63
64core::TensorValue mul(
65 core::ModuleBuildContext & ctx,

Callers 3

apply_adalnFunction · 0.70
variance_rms_normFunction · 0.70
buildMethod · 0.70

Calls 2

wrap_tensorFunction · 0.85
ggml_addFunction · 0.85

Tested by

no test coverage detected