Python class
MinPSampler
MinPSampler
class max.nn.MinPSampler(dtype, shape, temperature=1)
Bases: Module
A min_p sampler.
dtype
dtype: DType
min_p
min_p: float
shape
shape: Shape
temperature
temperature: float
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!