Struct PeakModel::Context¶
Defined in File cost_model.hpp
Nested Relationships¶
This struct is a nested type of Template Struct PeakModel.
Struct Documentation¶
-
struct Context¶
Precomputed tables: S[n] = footprint of subset n’s result tensor, L[n] = sum of leaf (singleton) sizes in subset n, idx[n] = subset n’s open (result) indices (for the per-contraction flop tie-break), and flops_of(lhs, rhs, result) the flop count of one binary contraction.