(self)
| 35 | |
| 36 | class CortexMToEdge(ToEdge): |
| 37 | def __init__(self): |
| 38 | config = EdgeCompileConfig( |
| 39 | preserve_ops=[ |
| 40 | torch.ops.aten.linear.default, |
| 41 | torch.ops.aten.hardsigmoid.default, |
| 42 | torch.ops.aten.hardsigmoid_.default, |
| 43 | torch.ops.aten.hardswish.default, |
| 44 | torch.ops.aten.hardswish_.default, |
| 45 | ], |
| 46 | _check_ir_validity=False, |
| 47 | _core_aten_ops_exception_list=[torch.ops.aten.max_pool2d.default], |
| 48 | ) |
| 49 | super().__init__(config) |
| 50 | |
| 51 | |
| 52 | class CortexMRunPasses(RunPasses): |
no test coverage detected