title: Input 'y' of 'Mul' Op has type float32 that does not match type int32 of argument 'x'
body: <p>When I use this code on Linux. It works. But on windows it doesn't. By the way my python version is 3.5 on my windows </p>
  
  <pre><code>with graph.as_default():
  
   train_inputs = tf.placeholder(tf.int32, shape=[batch_size])
   train_labels = tf.placeholder(tf.int32, shape=[batch_size, 1])
   valid_dataset = tf.constant(valid_examples, dtype=tf.int32)
  
  
  with tf.device('/cpu:0'):
  
   embeddings = tf.Variable(
      tf.random_uniform([vocabulary_size, embedding_size], -1.0, 1.0))
   embed = tf.nn.embedding_lookup(embeddings, train_inputs)
  
  
   nce_weights = tf.Variable(
      tf.truncated_normal([vocabulary_size, embedding_size],
                          stddev=1.0 / math.sqrt(embedding_size)))
   nce_biases = tf.Variable(tf.zeros([vocabulary_size]))
  
  
  loss = tf.reduce_mean(
    tf.nn.nce_loss(nce_weights, nce_biases, embed, train_labels,num_sampled, vocabulary_size))
  </code></pre>