MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / _default_rng

Function _default_rng

imperative/python/megengine/random/rng.py:712–714  ·  view source on GitHub ↗

r"""Default constructor for :class:`RNG`.

()

Source from the content-addressed store, hash-verified

710
711
712def _default_rng():
713 r"""Default constructor for :class:`RNG`."""
714 return RNG(seed=None, device=None)
715
716
717_default_handle = _default_rng()

Callers 1

rng.pyFile · 0.85

Calls 1

RNGClass · 0.70

Tested by

no test coverage detected