Returns the current mode of the seed manager. Returns: :class:`torch.ByteTensor`: The current mode of the seed manager.
()
| 93 | |
| 94 | |
| 95 | def get_current_mode(): |
| 96 | """Returns the current mode of the seed manager. |
| 97 | Returns: |
| 98 | :class:`torch.ByteTensor`: The current mode of the seed manager. |
| 99 | """ |
| 100 | return _SEED_MANAGER.current_mode |
| 101 | |
| 102 | |
| 103 | def add_seed(parallel_mode: ParallelMode, seed: int, overwrite: bool = False): |
no outgoing calls
no test coverage detected