Removes the constraint that inputSize needs to be 4-element array.
am: 29e49bf7bf

Change-Id: I0ddf6681d7097cd528fd4ddd81d2c67e191f2674