Remove unnecessary copy of inputs.
Remove unnecessary copy of inputs.

`np.array` will always create a copy.
`np.asarray` does not copy the inputs. Usually the returned array with be read-only but this is not an issue for feeding data to the model.

PiperOrigin-RevId: 449014841

google-research/t5x