Skip to main content

grapher.TacoBuildConfig

Controls which cells may participate in TACO range-pattern compression.

Usage

Source

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 = False
exclude_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

Source

for_codegen(graph=None, *, input_keys=None, internal_only=True)