title: TypeError: DataType float32 for attr 'T' not in list of allowed values: int32, int64
body: <p>hallo i am trying to run the code using Anaconda but i got this error even i have already run the program using cpu in another pc , its worked fine. may be because using python v3.5 and in the other pc python v2.5 ?</p>
  
  <p>i created screenshot for the error <a href="https://i.stack.imgur.com/8txul.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8txul.png" alt="enter image description here"></a>  </p>
  
  <p>the error line is that </p>
  
  <pre><code>with graph.as_default() :     
    w_b_not = {
        'weight_4': tf.Variable(tf.random_normal([num_hidden, num_labels], stddev=0.1), name = 'weight_4'),
        'bias_4'  : tf.Variable(tf.constant(1.0, shape=[num_labels]), name = 'bias_4')}
  </code></pre>