Struct OptimizeOptions¶
Defined in File options.hpp
Struct Documentation¶
-
struct OptimizeOptions¶
Options that control behavior of sequant::optimize.
Public Members
-
ReorderSum reorder = ReorderSum::Reorder¶
Whether to reorder summands so terms with shared intermediates appear closer to each other.
-
SubnetCSE subnet_cse = SubnetCSE::Disable¶
Whether single-term optimization should perform subnetwork common-subexpression recognition. Disabled by default; enabling can reduce op counts at the cost of additional optimization time.
-
index_to_extent_t idx_to_extent = {}¶
Caller-supplied Index to extent provider. If empty, defaults to
IndexSpace::approximate_size().
-
ReorderSum reorder = ReorderSum::Reorder¶