Great!
Here it is :
self.convA1 = nn.Conv2d(1, 1, kernel_size=(5,100), padding=(2,0))

self.convB1 = nn.Conv2d(1, 1, kernel_size=(5,100), padding=(2,0))

padding is (2,0) for maintaining the height. Besides, each time I considered five rows(words). I’ve changed the shape of it for example (2,100), (28,1),… and even symmetric forms (5,5), … . I wanna check another dataset, simpler than what I have now. Any suggestion is welcomed.