rand4#

nvmath.device.random.rand4(state)#

Generate a 4-tuple of 32-bits of randomness from a Philox4_32_10 generator.

Parameters:

state – a state object corresponding to the Philox4_32_10 generator.

Returns:

A 4-tuple of 32-bits of randomness from a Philox4_32_10 generator as an uint32x4 object.