Struct DryRunLeafEvaluator¶
Defined in File eval_expr.hpp
Struct Documentation¶
-
struct DryRunLeafEvaluator¶
Leaf yielder: turns each IR leaf (a tensor/constant/variable node) into a zero-data DryRun Result. This is the
Finevaluate<Trace>(node, layout, F, cache).A tensor leaf’s literal (canon-order) index list decides flat vs nested:
make_dryrun_resultbuilds a flatResultDryRunif none of the leaf’s indices are proto-indexed, or a nestedResultDryRunNested(a CSV/PNO amplitude or coefficient) if any are — and threads that same literal list through as the nested result’s canon-order position map, so a laterslice_mode()/ call(which the batched runtime only ever issues against a leaf’s result) resolves its positionalmodeargument correctly regardless of the leaf’s flat/nested-ness.Public Functions
-
inline ResultPtr operator()(EvalNodeDryRun const &leaf) const¶
-
inline ResultPtr operator()(EvalNodeDryRun const &leaf) const¶