mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Partially addresses #123062 Ran lintrunner on: - `test/fx` with command: ```bash lintrunner -a --take UFMT --all-files ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/123622 Approved by: https://github.com/ezyang
9 lines
116 B
Python
9 lines
116 B
Python
from typing import NamedTuple
|
|
|
|
import torch
|
|
|
|
|
|
class MyNamedTup(NamedTuple):
|
|
i: torch.Tensor
|
|
f: torch.Tensor
|