A high-performance inference engine for AI models
// Autogenerated stub
import definitions;
import generated.confidence_head;
[[Public]] [[Kernel]] func ConfidenceHeadNodes(
StructuredBuffer<BFloat16> residual_logits,
StructuredBuffer<float> candidate_logits,
StructuredBuffer<float> pool_features,
StructuredBuffer<uint> round_metadata,
StructuredBuffer<uint> round_valid,
StructuredBuffer<BFloat16> draft,
StructuredBuffer<BFloat16> pool_entry_weights,
StructuredBuffer<BFloat16> pool_entry_biases,
StructuredBuffer<BFloat16> pool_hidden_weights,
StructuredBuffer<BFloat16> pool_hidden_biases,
StructuredBuffer<BFloat16> pool_out_weights,
StructuredBuffer<BFloat16> pool_out_biases,
RWStructuredBuffer<float> scores,
RWStructuredBuffer<BFloat16> nodes,
RWStructuredBuffer<BFloat16> node_inputs,
ConfidenceHeadParams params,
uint rows,
[[Specialize]] uint model_dim,
[[Specialize]] uint pool_hidden,
ThreadContext context,
[[Groups("rows")]] uint row,
[[Threads("1024")]] uint lid,
) {
// TODO
}