Gumbel_softmax
Samples from the Gumbel-Softmax distribution and optionally discretizes.
nnf_gumbel_softmax(logits, tau = 1, hard = FALSE, dim = -1)
logits |
|
tau |
non-negative scalar temperature |
hard |
if |
dim |
(int) A dimension along which softmax will be computed. Default: -1. |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.