Sets the seed for generating random numbers for the current GPU.
(self, seed: int)
| 124 | raise RuntimeError("this method is not supported for cpu accelerator") |
| 125 | |
| 126 | def manual_seed(self, seed: int) -> None: |
| 127 | """ |
| 128 | Sets the seed for generating random numbers for the current GPU. |
| 129 | """ |
| 130 | raise RuntimeError("this method is not supported for cpu accelerator") |
| 131 | |
| 132 | def manual_seed_all(self, seed: int) -> None: |
| 133 | """ |
no outgoing calls