title: numpy random choice in Tensorflow
body: <p>Is there an equivalent function to numpy random choice in Tensorflow. 
  In numpy we can get an item randomly from the given list with its weights. </p>
  
  <pre><code> np.random.choice([1,2,3,5], 1, p=[0.1, 0, 0.3, 0.6, 0])
  </code></pre>
  
  <p>This code will select an item from the given list with p weights. </p>