Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 362 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 362 Bytes

gumbel_sigmoid

A pytorch implementation of the gumbel sigmoid gate (paper)

example

logits = torch.randn(1000)
out = gumbel_sigmoid(logits, temp=0.6)

gumbel softmax output density for normally distributed inputs (temperature = 0.6)