For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Python class
RejectionSamplerWithResiduals
RejectionSamplerWithResiduals
class max.nn.RejectionSamplerWithResiduals(device, top_k=1, temperature=1.0, eps=1e-10, debug=False)
Bases: Module
A simple rejection sampler.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!