... Python 3 type hints from the typing module. import torch from typing import Tuple @torch.jit.script def foo(x: int, tup: Tuple[torch.Tensor, torch.Tensor]) ...
確定! 回上一頁