title: How to generate random number in a given range as a Tensorflow variable
body: <p>I am trying to use the normal distribution to calculate random numbers. </p>
  
  <pre><code>tf.truncated_normal(shape, stddev=0.1,seed=1, mean=0)
  </code></pre>
  
  <p>but the numbers I get are floating points with many digits after the decimal, like this:<code>0.14845988</code> </p>
  
  <p>Is there a way to make it generate numbers as int, and in a given range like <code>[min, max]</code> ?</p>