title: How to understand tf.get_collection() in TensorFlow
body: <p>I am confused by <code>tf.get_collection()</code> form the <a href="https://www.tensorflow.org/versions/master/api_docs/python/framework.html#Graph.get_collection" rel="noreferrer">docs</a>, it says that </p>
  
  <blockquote>
    <p>Returns a list of values in the collection with the given name.</p>
  </blockquote>
  
  <p>And an example from the Internet is here</p>
  
  <pre><code>from_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, from_scope)
  </code></pre>
  
  <p>Is it means that it collects variables from <code>tf.GraphKeys.TRAINABLE_VARIABLES</code>  to <code>from_scope</code>?</p>
  
  <p>However, how can I use this function if I want to get variables from another scope? Thank you!</p>