Open MapleSpirit opened 5 years ago
Oh, I take a closer look at the network architecture in the paper and think that the c_code
in the defination should be unnecessary. The definition should be def forward(self, h_code, word_embs, mask):
. Right?
In the /code/model.py, the
c_code
is passed to the classNEXT_STAGE_G
as a parameter. However, thec_code
is covered by the functionc_code, att = self.att(h_code, word_embs)
so that the parameter here is redundant. I'm not sure whether thec_code
in the definition is necessary or just misused inc_code, att = self.att(h_code, word_embs)
. Thanks~