input_sequences is a list and not an nd-array in your case. Please go back to pad_seqs and fix the type of the return value.
input_sequences
pad_seqs