grapher.TacoBuildConfig
Controls which cells may participate in TACO range-pattern compression.
Usage
grapher.TacoBuildConfig()For codegen, start with exclude_targets and exclude_input_keys so boundary cells stay at cell granularity. Use internal_only to compress only formula nodes that are neither targets nor declared inputs.
Parameter Attributes
exclude_targets: bool = Falseexclude_input_keys: frozenset[NodeKey] = frozenset()internal_only: bool = False
Methods
| Name | Description |
|---|---|
| for_codegen() | Preset for codegen: keep targets and inputs uncompressed. |
for_codegen()
Preset for codegen: keep targets and inputs uncompressed.
Usage
for_codegen(graph=None, *, input_keys=None, internal_only=True)