(x)
| 20 | # From PyTorch internals |
| 21 | def _ntuple(n): |
| 22 | def parse(x): |
| 23 | if isinstance(x, collections.abc.Iterable) and not isinstance(x, str): |
| 24 | return tuple(x) |
| 25 | return tuple(repeat(x, n)) |
| 26 | |
| 27 | return parse |
| 28 |
nothing calls this directly
no outgoing calls
no test coverage detected