Closed tessavdheiden closed 2 years ago
@tessavdheiden Thanks! but why?
Because you can avoid the 35 (44-9) lines, with F.gumbel_softmax(x, dim=-1, tau=tau). So, it will make your code slimmer.
Oh yeah, thanks. But I wanted to implement it myself, that was kind of the point.
Hi!
Great repo and very well documented!
I was wondering, you have implemented your own Gumbel Softmax function, with gradient. Can you substitute it with the Pytorch Gumbel Softmax function?
Best, Tessa