Buckets:
| import random | |
| import numpy as np | |
| import torch | |
| def set_seed(seed: int): | |
| random.seed(seed) | |
| np.random.seed(seed) | |
| torch.manual_seed(seed) | |
| if torch.cuda.is_available(): | |
| torch.cuda.manual_seed_all(seed) |
Xet Storage Details
- Size:
- 225 Bytes
- Xet hash:
- e6db9f78f1b60da21846f97efc65bb94b59b35f14e685c72fe2abd8dda135209
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.