xavier_initializer tensorflow 2.0 code example
Example: tf.contrib.layers.xavier_initializer() tf2
shape = (3,3)
initializer = tf.initializers.GlorotUniform()
var = tf.Variable(initializer(shape=shape))
shape = (3,3)
initializer = tf.initializers.GlorotUniform()
var = tf.Variable(initializer(shape=shape))