def rng_hash

bend-ml-tensor-gpu@0.1.5.1 · main.bend:612

import bend-ml-tensor-gpu@0.1.5.1/main.bend as BendMlTensorGpu
import 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))

Uses (4)

Used by (2)