'Decode latent document vectors back into word counts
(n_docs, n_vocab).'

def decode(self, sample, bow):

    logprob = F.log_softmax(self.embedding(sample))
    loss = (- F.sum((bow * logprob)))
    return loss
