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

Function transpose_btc_to_bct

src/models/vevo2/components.cpp:558–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556 throw std::runtime_error("Vevo2 weight-norm tensor has zero norm: " + prefix);
557 }
558 const float scale = static_cast<float>(static_cast<double>(g[static_cast<size_t>(out)]) / norm);
559 for (int64_t i = 0; i < row_size; ++i) {
560 weight[static_cast<size_t>(base + i)] = v[static_cast<size_t>(base + i)] * scale;
561 }
562 }
563 return weight;
564}
565

Callers 4

build_coco_vocos_encoderFunction · 0.70
build_coco_quantizer_idsFunction · 0.70

Calls 2

TransposeModuleClass · 0.85
buildMethod · 0.45

Tested by

no test coverage detected