Thank you very much for your answer.
If I follow your advice, should I do the following?
inputs = inputs.reshape(32, 1, 100)

After adding the above process, I am facing another error.

RuntimeError: Given groups=1, weight of size [32, 100, 2], expected input[32, 1, 100] to have 100 channels, but got 1 channels instead

Where does the third element, 2, come from?