mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2026-06-17 04:28:54 +08:00
Revert D107142434: Enable Pyrefly in fbcode/vision/fair
Differential Revision: D107142434 Original commit changeset: 25929bb3d5a3 Original Phabricator Diff: D107142434 fbshipit-source-id: 0aecaeba28d7d8db8f9273406a080e41aa77c4a7
This commit is contained in:
committed by
meta-codesync[bot]
parent
05025bf005
commit
1f7f85c0a3
@@ -14,7 +14,6 @@ import torch
|
||||
|
||||
|
||||
def seed_all_random_engines(seed: int) -> None:
|
||||
# pyrefly: ignore [bad-argument-type]
|
||||
np.random.seed(seed)
|
||||
torch.manual_seed(seed)
|
||||
random.seed(seed)
|
||||
|
||||
Reference in New Issue
Block a user