lib/tensor_stream/ops.rb
def glorot_uniform_initializer(seed: nil, dtype: nil)
      TensorStream::Initializer.new(-> { _op(:glorot_uniform, seed: seed, data_type: dtype) })
    end
def glorot_uniform_initializer(seed: nil, dtype: nil)
      TensorStream::Initializer.new(-> { _op(:glorot_uniform, seed: seed, data_type: dtype) })
    end
The Glorot uniform initializer, also called Xavier uniform initializer.

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