1D array with unnormalized log-probabilities, or
2D array of shape [batchSize, numOutcomes]. See the normalized
parameter.
Number of samples to draw for each row slice.
Optional seed: numberThe seed number.
Optional normalized: booleanWhether the provided logits are normalized true
probabilities (sum to 1). Defaults to false.
1D array of shape [numSamples], or 2D array of shape
[batchSize, numSamples], depending on the rank of the input.
Generated using TypeDoc
Creates a
tf.Tensorwith values drawn from a multinomial distribution.