title: How to assign task to a specific CPU core?
body: <p>I read material of <code>distributed devices</code> in <code>tensorflow</code> that training can be assigned to a specific CPU core. </p>
  
  <p>Can we assign a task/thread to a CPU core to achieve concurrent or parallel processing?</p>
  
  <pre><code>with tf.device("/job:ps/task:0"):
    weights_1 = tf.Variable(...)
    biases_1 = tf.Variable(...)
  
  with tf.device("/job:ps/task:1"):
    weights_2 = tf.Variable(...)
    biases_2 = tf.Variable(...)
  </code></pre>