Description Usage Arguments Value
Samples from categorical distribution.
1 2 3 4 5 6 | sample_categorical(
logits,
dtype = tf$int32,
sample_shape = list(),
seed = NULL
)
|
logits |
logits |
dtype |
dtype |
sample_shape |
the shape of sample |
seed |
random seed: integer |
a Tensor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.