The input data type to the Cumsum is controlled by the TT_DATA template parameter and must be one of: int16, int32, float, bfloat16, or complex versions of these.
TT_OUT_DATA selects the output type, which must be the same type as TT_DATA with equal or greater precision. For example, for cint16 input, valid output types are cint16 and cint32.