DEBSOURCES
Skip Quicknav
sources / pytorch / 1.13.1%2Bdfsg-4 / test / typing / fail / random.py
1234
# flake8: noqa import torch torch.set_rng_state([1, 2, 3]) # E: Argument 1 to "set_rng_state" has incompatible type "List[int]"; expected "Tensor"