mkl_random.MKLRandomState.seed

MKLRandomState.seed(seed=None, brng=None)

Seed the generator.

This method is called when MKLRandomState is initialized. It can be called again to re-seed the generator. For details, see MKLRandomState.

Parameters:
seedint or array_like, optional

Seed for MKLRandomState. Must be convertible to 32 bit unsigned integers.

brngstr or tuple of (str, int), optional

Name of the basic random number generation algorithm, or a non-deterministic hardware-based generator, provided by Intel MKL. One of ‘MT19937’, ‘SFMT19937’, ‘MT2203’, ‘R250’, ‘WH’, ‘MCG31’, ‘MCG59’, ‘MRG32K3A’, ‘PHILOX4X32X10’, ‘NONDETERM’, ‘ARS5’ (case-insensitive). For the ‘MT2203’ and ‘WH’ families, a (name, set_id) pair selects a member of the family. Use brng=None, the default, to keep the algorithm specified when this instance was constructed.

See also

MKLRandomState

References

MKL Documentation