0
私はInceptionモデルのコードを読んでいますが、私は変数の共有について混乱しています。開始モデルの変数を区別する方法は?
line 116でとライン117:これら二つの層のための
# mixed: 35 x 35 x 256.
with tf.variable_scope('mixed_35x35x256a'):
with tf.variable_scope('branch1x1'):
branch1x1 = ops.conv2d(net, 64, [1, 1])
with tf.variable_scope('branch5x5'):
branch5x5 = ops.conv2d(net, 48, [1, 1]) //line 116
branch5x5 = ops.conv2d(branch5x5, 64, [5, 5]) //line 117
重量変数は同じvariable_scope
と同じ名前weights
がありますか?唯一可能なケースは、変数が共有されていることですが、明らかに、これらの2つの変数は異なる形状(1x1対5x5)を持ち、共有できませんか?それについて誰でも説明してください。
おかげで、