pytorch/test/fx/named_tup.py
Yuanhao Ji c96bd3de06 Enable UFMT on all of test/fx (#123622)
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
2024-04-09 15:59:17 +00:00

9 lines
116 B
Python

from typing import NamedTuple
import torch
class MyNamedTup(NamedTuple):
i: torch.Tensor
f: torch.Tensor