jax-js
    Preparing search index...

    Function randint

    • Sample integer values uniformly from [minval, maxval).

      This uses modulo reduction of uniform 32-bit random bits. For ranges that do not divide 2^32, this introduces a very small modulo bias.

      Parameters

      • ...args: [
            key: ArrayLike,
            { dtype?: DType; maxval: number; minval: number; shape?: number[] },
        ]

      Returns Array

    Properties

    dispose: () => void