def rng_hash
import bend-ml-tensor-gpu@0.1.5.1/main.bend as BendMlTensorGpuimport Base
612# the hash of index i of counter s
613def rng_hash(+s: U32, +i: U32) -> U32:
614 rng_mix(((s * 2654435769 : U32) + (i + 305419898 : U32) : U32))
import bend-ml-tensor-gpu@0.1.5.1/main.bend as BendMlTensorGpuimport Base
612# the hash of index i of counter s
613def rng_hash(+s: U32, +i: U32) -> U32:
614 rng_mix(((s * 2654435769 : U32) + (i + 305419898 : U32) : U32))