TensorFlow 2.0 Beta is available Learn more

tf.compat.v2.keras.initializers.he_uniform

He uniform variance scaling initializer.

Aliases:

  • tf.compat.v2.initializers.he_uniform
  • tf.compat.v2.keras.initializers.he_uniform
tf.compat.v2.keras.initializers.he_uniform(seed=None)

Defined in python/ops/init_ops_v2.py.

It draws samples from a uniform distribution within [-limit, limit] where limit is sqrt(6 / fan_in) where fan_in is the number of input units in the weight tensor.

Arguments:

  • seed: A Python integer. Used to seed the random generator.

Returns:

An initializer.

References:

He et al., 2015 # pylint: disable=line-too-long (pdf)