Google I/O is a wrap! Catch up on TensorFlow sessions View sessions


Non-deterministically generates some integers.

This op may use some OS-provided source of non-determinism (e.g. an RNG), so each execution will give different results.

shape A Tensor. The shape of the output tensor.
dtype An optional tf.DType. Defaults to tf.int64. The type of the output.
name A name for the operation (optional).

A Tensor of type dtype.