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

Class CrossEntropyParams

experimental/kernels/ops.cpp:401–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399 float* probs, int* targets,
400 int B, int T, int Vp){
401 struct CrossEntropyParams {
402 uint32_t B;
403 uint32_t T;
404 uint32_t VP;
405 };
406 unsigned long b = static_cast<unsigned long>(B);
407 unsigned long t = static_cast<unsigned long>(T);
408 unsigned long vp = static_cast<unsigned long>(Vp);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected