triton.language.randn

triton.language.randn(seed, offset, n_rounds: constexpr = 10)

Given a seed scalar and an offset block, returns a block of random float32 in \(\mathcal{N}(0, 1)\).

Parameters:
  • seed – The seed for generating random numbers.

  • offsets – The offsets to generate random numbers for.