title: Changing tensor value from a saved tensorflow model
body: <p>I have some models saved that have dropout layers. Unfortunately, the <strong>dropout_keep_dim</strong> value was not given as placeholders. Now when I restore the model for test purpose, it gives random output for each run. So, my question is, is it possible to change the <strong>dropout_keep_dim</strong> of a saved variable? The dropout layer is added the following way:</p>
  
  <pre><code>tf.nn.dropout(layer_no, dropout_keep_dim)
  </code></pre>
  
  <p>I have already wasted hours on google and didn't find any working solution. Is there even a solution or are my saved models of no use now? Tf.assign doesn't work as, in my case, dropout_keep_dim is not a variable. Any kind of help is appreciated. </p>
  
  <p>NB. I can restore the <strong>dropout_keep_dim</strong> value and print it. I want to change it if that's possible and then test with the saved weights.</p>