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

Class CaptureConfig

exir/capture/_config.py:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21@compatibility(is_backward_compatible=False)
22@dataclass
23class CaptureConfig:
24 pt2_mode: bool = True
25 enable_functionalization: bool = True
26 enable_dynamic_shape: bool = False # This flag does nothing if enable_aot is True
27 enable_aot: bool = (
28 False # When it's true it implies automatic dynamic shapes via default dynamo config
29 )
30 _dynamo_config: "ExirDynamoConfig" = field(default_factory=ExirDynamoConfig)
31 _unlift: bool = False # This flag does nothing if enable_aot is False.
32 _use_old_decomp_table: bool = False
33
34
35@compatibility(is_backward_compatible=False)

Callers 1

captureFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected