tf.contrib.stateless.stateless_multinomial

tf.contrib.stateless.stateless_multinomial(
    logits,
    num_samples,
    seed,
    output_dtype=tf.int64,
    name=None
)

Defined in generated file: tensorflow/contrib/stateless/gen_stateless_random_ops.py.

TODO: add doc.

Args:

  • logits: A Tensor. Must be one of the following types: float32, float64, int32, uint8, int16, int8, int64, bfloat16, uint16, half, uint32, uint64.
  • num_samples: A Tensor of type int32.
  • seed: A Tensor. Must be one of the following types: int32, int64.
  • output_dtype: An optional tf.DType from: tf.int32, tf.int64. Defaults to tf.int64.
  • name: A name for the operation (optional).

Returns:

A Tensor of type output_dtype.