(op: OpKey)
| 132 | def update_features(aten_op): |
| 133 | def features_decorator(fn: Callable): |
| 134 | def update_features_impl(op: OpKey): |
| 135 | if op in vulkan_supported_ops: |
| 136 | raise RuntimeError(f"[Vulkan delegate] duplicate registration of {op}!") |
| 137 | vulkan_supported_ops[op] = fn() |
| 138 | |
| 139 | if isinstance(aten_op, list): |
| 140 | for op in aten_op: |
no test coverage detected