SR2DynamicSum#
Source: models/common/DynamicSum.py
Sum a dynamic dimension.
Mirrors C++ DynamicSum<SR2>. The dim HIT option selects the
dynamic-batch axis to sum over (the same convention as the C++ Size
argument: 0 is the leading dynamic axis, -1 the trailing).
Inputs#
from—input·SR2· requiredVariable to reduce
Outputs#
to—output·SR2· requiredThe reduced variable
Other options#
dim—int· requiredThe dimension to sum