The Glorot uniform initializer, aka Xavier uniform initializer.
It draws samples from a uniform distribution within [-limit, limit]
sqrt(6 / (fan_in + fan_out))
fan_in is the number of input units in the weight tensor
fan_out is the number of output units in the weight tensor.
callable which takes a shape
Tensor, dtype and an
int number of batch dims and returns a randomly
Tensor with the specified shape and dtype.
Glorot et al., 2010