(
self,
module: torch.nn.Module,
example_inputs: Tuple[torch.Tensor],
dynamic_shapes: Optional[Tuple[Any]] = None,
)
| 70 | |
| 71 | class VulkanTester(TesterBase): |
| 72 | def __init__( |
| 73 | self, |
| 74 | module: torch.nn.Module, |
| 75 | example_inputs: Tuple[torch.Tensor], |
| 76 | dynamic_shapes: Optional[Tuple[Any]] = None, |
| 77 | ): |
| 78 | stage_classes = ( |
| 79 | executorch.backends.test.harness.Tester.default_stage_classes() |
| 80 | | { |
| 81 | StageType.PARTITION: Partition, |
| 82 | StageType.TO_EDGE_TRANSFORM_AND_LOWER: ToEdgeTransformAndLower, |
| 83 | } |
| 84 | ) |
| 85 | |
| 86 | super().__init__( |
| 87 | module=module, |
| 88 | stage_classes=stage_classes, |
| 89 | example_inputs=example_inputs, |
| 90 | dynamic_shapes=dynamic_shapes, |
| 91 | ) |
nothing calls this directly
no test coverage detected