Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge

tf.keras.backend.random_uniform_variable

TensorFlow 1 version View source on GitHub

Instantiates a variable with values drawn from a uniform distribution.

shape Tuple of integers, shape of returned Keras variable.
low Float, lower boundary of the output interval.
high Float, upper boundary of the output interval.
dtype String, dtype of returned Keras variable.
name String, name of returned Keras variable.
seed Integer, random seed.

A Keras variable, filled with drawn samples.

Example:

TensorFlow example

kvar = tf.keras.backend.random_uniform_variable((2,3), 0, 1) kvar