Skip to main content
Log in

Mojo function

random

random(tensor: LayoutTensor[dtype, layout, rank, address_space=address_space, element_layout=element_layout, layout_bitwidth=layout_bitwidth, masked=masked, alignment=alignment], min: SIMD[dtype, 1] = SIMD(0), max: SIMD[dtype, 1] = SIMD(1))