MCPcopy Create free account
hub / github.com/pytorch/executorch / __init__

Method __init__

backends/vulkan/test/tester.py:72–91  ·  view source on GitHub ↗
(
        self,
        module: torch.nn.Module,
        example_inputs: Tuple[torch.Tensor],
        dynamic_shapes: Optional[Tuple[Any]] = None,
    )

Source from the content-addressed store, hash-verified

70
71class 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 )

Callers

nothing calls this directly

Calls 2

default_stage_classesMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected