Contents Menu Expand Light mode Dark mode Auto light/dark mode
DeLU
Logo
  • v0.0.15 ▼

NOTES

  • Learn

REFERENCE

  • delu
  • delu.cuda
  • delu.data
  • delu.hardware
  • delu.nn
  • delu.random
Back to top
Edit this page

delu.random#

Random sampling utilities.

seed

Set seeds in random, numpy and torch.

get_state

Aggregate global random states from random, numpy and torch.

set_state

Set global random states in random, numpy and torch.

preserve_state

Decorator and context manager for preserving global random state.

Next
delu.random.seed
Previous
delu.nn.Lambda
Copyright © 2023, Yura52
Made with Sphinx and @pradyunsg's Furo
On this page
  • delu.random