nlp-tutorial icon indicating copy to clipboard operation
nlp-tutorial copied to clipboard

TextCNN_Torch have wrong comment

Open ghost opened this issue 6 years ago • 3 comments

def forward(self, X): embedded_chars = self.W[X] # [batch_size, sequence_length, sequence_length]

I think the shape is [batch_size, sequence_length,embedding_size]

ghost avatar Jan 23 '20 15:01 ghost

yes,I think so

endeavor11 avatar Feb 28 '20 16:02 endeavor11

Filed PR #49

Yuhuishishishi avatar May 24 '20 22:05 Yuhuishishishi

can somebody tell me, why need three conv layer to convolve the word embedding matrix? I dont understand.

AgaigetS avatar Sep 11 '20 04:09 AgaigetS