(*tensors)
| 1077 | |
| 1078 | |
| 1079 | def meshgrid_ij(*tensors): |
| 1080 | if torch.meshgrid.__kwdefaults__ is not None and "indexing" in torch.meshgrid.__kwdefaults__: |
| 1081 | return torch.meshgrid(*tensors, indexing="ij") # new api pytorch after 1.10 |
| 1082 | |
| 1083 | return torch.meshgrid(*tensors) |
| 1084 | |
| 1085 | |
| 1086 | def meshgrid_xy(*tensors): |
no outgoing calls
searching dependent graphs…