MCPcopy Create free account
hub / github.com/AnswerDotAI/gpu.cpp / SoftmaxParam

Class SoftmaxParam

experimental/legacy/transformer/test_kernels.cpp:220–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218void testSoftmax(Context &ctx) {
219
220 struct SoftmaxParam {
221 uint32_t N;
222 uint32_t C;
223 };
224 static constexpr size_t B = 6; // batch size
225 static constexpr size_t T = 8; // token index
226 static constexpr size_t C = 3072; // input channels

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected