Why do we have to explicitly convert what the pad_sequences() function returns into a numpy array? As far as I understand, the pad_sequences() function (according to the API docs) does already return a numpy array by default, doesn’t it?
Thanks for bringing this up. The staff have been notified to remove the needless np.array
call.