| 37 | |
| 38 | @dataclass(frozen=True) |
| 39 | class ETKernelKeyOpArgMeta: |
| 40 | arg_name: str |
| 41 | dtype: str |
| 42 | # The order of the dimensions if entry is a Tensor |
| 43 | dim_order: Tuple[int, ...] |
| 44 | |
| 45 | def to_native_string(self) -> str: |
| 46 | dtype_str = ScalarType[self.dtype].value |
| 47 | dim_str = str(self.dim_order)[1:-1].replace(" ", "") |
| 48 | return f"{dtype_str};{dim_str}" |
| 49 | |
| 50 | |
| 51 | @dataclass(frozen=True) |
no outgoing calls
no test coverage detected
searching dependent graphs…