tf.contrib.kfac.utils.generate_random_signs

tf.contrib.kfac.utils.generate_random_signs(
    shape,
    dtype=tf.float32
)

Defined in tensorflow/contrib/kfac/python/ops/utils.py.

Generate a random tensor with {-1, +1} entries.