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

Function require_f32_weight

src/models/ace_step/vae_decoder.cpp:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98core::TensorValue require_f32_weight(
99 const core::TensorValue & value,
100 const char * module_name) {
101 if (value.type != GGML_TYPE_F32) {
102 throw std::runtime_error(std::string(module_name) + " requires uploaded F32 weights");
103 }
104 return require_contiguous_nontransposed_weight(value, module_name);
105}
106
107core::TensorValue regular_conv_weight(
108 const core::TensorValue & weight,

Callers 3

build_conv1dFunction · 0.85
build_conv_transpose1dFunction · 0.85

Calls 2

stringFunction · 0.50

Tested by

no test coverage detected