TensorFlow: Difference between revisions

375 bytes added ,  29 January 2021
Line 197: Line 197:
</syntaxhighlight>
</syntaxhighlight>
}}
}}
===Batch Normalization===
Batchnorm has 3 variables: beta, mean, variance. However, these are not all stored in trainable variables. Thus, you must explicity list them in <code>tf.Saver</code> or use <code>var_list=tf.global_variables()</code>.
See [https://stackoverflow.com/questions/54186376/saving-tensorflow-model-that-uses-batchnorm SO: Saving TF model w/ batchnorm]


==Estimators==
==Estimators==