Multigrid_learning icon indicating copy to clipboard operation
Multigrid_learning copied to clipboard

Unclear why tf.Variable is used instead of tf.get_variable in places where there is an option for Variable sharing.

Open prateekm08 opened this issue 6 years ago • 0 comments

In the function build_Q of model.py, there is a reuse parameter to enable Variable sharing by using tf.variable_scope. The statement Q = tf.Variable(...), however, would create a new Variable every time build_Q is called regardless of the defined scope. source

prateekm08 avatar Aug 22 '18 11:08 prateekm08