tokens: Instead of drawing uniformly as in the Bernoulli case , a softmax is used to draw from the continuous distribution with a temperature controlling the kurtosis of the softmax and Stochastic Gradient Descent ( SGD ) can be used for optimization .