Summary: This commit feeds the repeated tensor arguments with the entire array instead of the piecewise scalars.