with tf.variable_scope("", reuse=tf.AUTO_REUSE):
model_train = MyModel(
is_training=True)
with tf.variable_scope(
tf.keras.layers.Dense 在 reuse 时有坑
最新推荐文章于 2025-06-04 09:43:55 发布
with tf.variable_scope("", reuse=tf.AUTO_REUSE):
model_train = MyModel(
is_training=True)
with tf.variable_scope(