title: How to delete existed tensorflow variable?
body: <p>I am using windows GPU tensorflow 1.0. I want to delete useless or wrong tf variable.     </p>
  
  <pre><code>For example I run code and generate a bad model, then I copy code and just modify existed variable W1(shape=[3,3],name="W1") as W1(shape=[5,5],name="W1") and run.  
  
   However tensorflow generate W1(shape=[5,5],name="W1_1") rather than replace old W1. So in the end Tensorflow will save both wrong trained W1(name='w1') and trained w1(name='w1_1'). When I restore W1, tensorflow give me wrong trained W1(name='w1').    
  </code></pre>
  
  <p>Could you tell me how to delete old variable W1 and add new W1?</p>
  
  <p>(the newline edit function is useless)</p>