(tensor, is_output=False)
| 99 | |
| 100 | @staticmethod |
| 101 | def argument(tensor, is_output=False): |
| 102 | if is_numpy_tensor(tensor): |
| 103 | return NumpyFrontend.argument(tensor, is_output) |
| 104 | elif is_torch_tensor(tensor): |
| 105 | return TorchFrontend.argument(tensor) |
| 106 | elif is_cupy_tensor(tensor): |
| 107 | return CupyFrontend.argument(tensor) |
| 108 | else: |
| 109 | raise NotImplementedError("Unknown Tensor Type") |
nothing calls this directly
no test coverage detected