The expanded size of the tensor (50) must match the existing size (10) at non-singleton dimension 0.

NoSuchKey