(x)
| 47 | # From PyTorch internals |
| 48 | def _ntuple(n): |
| 49 | def parse(x): |
| 50 | if isinstance(x, collections.abc.Iterable): |
| 51 | return x |
| 52 | return tuple(repeat(x, n)) |
| 53 | return parse |
| 54 | |
| 55 |
nothing calls this directly
no outgoing calls
no test coverage detected