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))
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!