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

Function transpose_last_two_axes

src/models/ace_step/text_encoder.cpp:101–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 return output;
100}
101
102core::TensorValue decoder_layer(
103 core::ModuleBuildContext & ctx,
104 const core::TensorValue & input,
105 const core::TensorValue & positions,
106 const std::optional<core::TensorValue> & attention_mask,
107 const Qwen3TextEncoderLayerWeights & weights,
108 const AceStepQwen3TextEncoderConfig & config) {
109 const int64_t dim = head_dim(config);
110 const int64_t kv_repeats = config.num_attention_heads / config.num_key_value_heads;
111 const modules::LinearModule q_proj(

Callers 1

matmul_f32Function · 0.70

Calls 1

swapFunction · 0.50

Tested by

no test coverage detected