SR2IntermediateSum¶
Source: models/common/IntermediateSum.py
Sum an intermediate dimension.
Mirrors C++ IntermediateSum<SR2>: reduces the trailing sub-batch axis
by summing along it, dropping sub_batch_ndim by 1.
The reduces HIT parameter names the sub-batch label this
reducer collapses; the composed-model propagator uses it to track
per-label structural state through the chain.
Inputs¶
from—input·SR2· requiredVariable to reduce
Outputs¶
to—output·SR2· requiredThe reduced variable
Other options¶
reduces—str· requiredSub-batch label this reducer collapses.