timbmg / Sentence-VAE

PyTorch Re-Implementation of "Generating Sentences from a Continuous Space" by Bowman et al 2015 https://arxiv.org/abs/1511.06349

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong usage of Bidirectional GRU

sharan21 opened this issue · comments

while declaring the encoder cell, the resultant hidden size is multiplied by hidden_factor. I think Pytorch already accommodates this new size and returns the outputs accordingly. Therefore there is no need to apply this scaling by hidden_factor.

Apologies, I am referring to a modified version of the code, so this issue is not relevant.