Yuan yang Deng

Results 2 issues of Yuan yang Deng

tf.keras.preprocessing.sequence.pad_sequences([[1,2],[2,3]], maxlen=20,padding='post') the code above is ok. but , tf.keras.preprocessing.sequence.pad_sequences(input_tensor, maxlen=20,padding='post') File "/home/student2/software/anaconda3/envs/tf/lib/python3.8/site-packages/keras_preprocessing/sequence.py", line 98, in pad_sequences trunc = np.asarray(trunc, dtype=dtype) TypeError: **int() argument must be a string, a bytes-like...

![image](https://user-images.githubusercontent.com/49196212/197913870-7c03b9a3-4c2c-467f-a16a-fe25fd844457.png)