I created a trainable variable in a scope. Later, I entered the same scope, set the scope to reuse_variables, and used get_varia
reuse_variables
get_varia
You can use tf.get_collection_ref to get the reference of collection rather than tf.get_collection