Function sequant::opt::schedule::rebuild_pinned_term(eval::schedule::TermRecord const&, ExprPtr const&)¶
Defined in File schedule_pin.hpp
Function Documentation¶
-
PinnedTerm sequant::opt::schedule::rebuild_pinned_term(eval::schedule::TermRecord const &rec, ExprPtr const &canonical)¶
Rebuild the optimizer’s output from a record over
canonical'sfactors; the annotations’ Index objects are looked up by eval::schedule::index_label among the subtree’s indices (protos included).- Throws:
sequant::Exception – naming
rec.keywhen the factors differ fromcanonical's, or an axis label is not an index of its node’s subtree