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

Class Sampler

include/engine/framework/runtime/host_ops.h:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65};
66
67class Sampler {
68public:
69 IntHostTensor compute(
70 const std::vector<float> & logits,
71 const std::vector<float> & uniforms,
72 int64_t batch,
73 int64_t steps,
74 int64_t vocab_size) const;
75};
76
77class AutoregressiveSampler {
78public:

Callers 1

computeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected