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

Class LayerNormParams

experimental/kernels/ops.cpp:91–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 unsigned long t = static_cast<unsigned long>(T);
90 unsigned long c = static_cast<unsigned long>(C);
91 struct LayerNormParams {
92 uint32_t B;
93 uint32_t T;
94 uint32_t C;
95 };
96 setLogLevel(kError);
97 Tensor inp_t = createTensor(ctx, Shape{b * t * c}, kf32, inp);
98 Tensor weight_t = createTensor(ctx, Shape{c}, kf32, weight);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected