[TF:XLA] Don't let RNG yield 0 for the gumbel softmax trick
We take the log(-log(x)), as such we would not want to let x be 0 or 1 as we would get a non-finite number. This was found by inspection, I have no evidence that this happens in practice. PiperOrigin-RevId: 234813142
Loading
Please sign in to comment