morpheus.utils.seed#

Functions

manual_seed(seed[, cpu_only])

Manually see the random number generators for the Python standard lib, PyTorch, NumPy and CuPy

manual_seed(seed, cpu_only=False)[source]#

Manually see the random number generators for the Python standard lib, PyTorch, NumPy and CuPy

Parameters:
seedint

The seed value to use

cpu_onlybool, default = False

When set to True, CuPy and CUDA specific PyTorch settings are not set.