Skip to main content

Mojo function

apply_gumbel_noise_kernel

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: UnsafePointer[Float32, ImmutAnyOrigin], seed: UnsafePointer[UInt64, ImmutAnyOrigin])

Was this page helpful?