brightmart / text_classification

all kinds of text classification models and more with deep learning
MIT License
7.87k stars 2.57k forks source link

question of TextCNN #127

Closed yongzhuo closed 5 years ago

yongzhuo commented 5 years ago

why ksize of maxpooling of textcnn is [1, self.sentence_size - filter_size + 1, 1, 1],what I mind is "sentence_size - filter_size + 1", can it be sentence_size, filter_size or any others, is there any tricks? I couldn't see it in paper.