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).
Mojo function
apply_gumbel_noise_kernel
def apply_gumbel_noise_kernel[dtype: DType, OutputLayoutType: TensorLayout, InputLayoutType: TensorLayout, num_sms: Int, num_threads: Int](output: TileTensor[dtype, OutputLayoutType, MutAnyOrigin], input: TileTensor[dtype, InputLayoutType, ImmutAnyOrigin], temperature: Optional[UnsafePointer[Float32, ImmutAnyOrigin]], seed: Optional[UnsafePointer[UInt64, ImmutAnyOrigin]])
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!