LiuFG opened this issue 5 years ago · 0 comments
tf1可以通过设用tf.variable_scope设置前缀,然后通过tf.get_variable获得相同name和维度的变量,从而实现权重共享。tf2如何实现呢?