(
self,
partitioners: Optional[List[Partitioner]] = None,
edge_compile_config: Optional[EdgeCompileConfig] = None,
)
| 52 | |
| 53 | class ToEdgeTransformAndLower(BaseStages.ToEdgeTransformAndLower): |
| 54 | def __init__( |
| 55 | self, |
| 56 | partitioners: Optional[List[Partitioner]] = None, |
| 57 | edge_compile_config: Optional[EdgeCompileConfig] = None, |
| 58 | ): |
| 59 | if partitioners is None: |
| 60 | vk_compile_spec = {"skip_bool_tensors": True} |
| 61 | partitioners = [VulkanPartitioner(vk_compile_spec)] |
| 62 | |
| 63 | super().__init__( |
| 64 | default_partitioner_cls=VulkanPartitioner, |
| 65 | partitioners=partitioners, |
| 66 | edge_compile_config=edge_compile_config |
| 67 | or EdgeCompileConfig(_check_ir_validity=False), |
| 68 | ) |
| 69 | |
| 70 | |
| 71 | class VulkanTester(TesterBase): |
nothing calls this directly
no test coverage detected