SKNet icon indicating copy to clipboard operation
SKNet copied to clipboard

About "attention_vectors = torch.cat([attention_vectors, vector], dim=1)"

Open Chao86 opened this issue 5 years ago • 2 comments

In your code,feas = torch.cat([feas, fea], dim=1);torch.cat([attention_vectors, vector], dim=1), however, in the original paper,V=aU1+bU2, if "dim" in th.cat([attention_vectors, vector]) is 1, I think the "dim" is 0,am I right?

Chao86 avatar Jun 13 '19 14:06 Chao86

I'd rather join you in the doubt

ascenoputing avatar Aug 03 '19 10:08 ascenoputing

It seems that the SoftMax(dim=1) should be SoftMax(dim=0)

ascenoputing avatar Aug 03 '19 10:08 ascenoputing