title: How to find a variable by name in tensorflow2.0
body: <p>It seems that tensorflow 2.0 has removed the function tf.global_variables(). My question is then: how do I find a variable with given name in a model? Does tensorflow 2.0 provide a function to do this?</p>
  
  <p>Currently, our training framework does not have access to code that builds models. It uses tf.global_variables() to find various variables in a loaded model to push-in and pull-out training data or results. Would tensorflow 2.0 be able to support this kind of framework?</p>