Skip to content Skip to sidebar Skip to footer

Tensorflow: What Is The Output Node Name In Cifar-10 Model?

I'm trying to understand Tensorflow and I'm seeing one of the official examples, the Cifar-10 model. In cifar10.py, in inference(), you can see the following lines: with tf.variabl

Solution 1:

The operator name won't be "softmax_linear". The tf.name_scope() prefixes names of operators with its name, separated by a /. Each operator has its own name. For example, if you write

with tf.name_scope("foo"):
   a = tf.constant(1, name="bar")

then the constant will have name "foo/bar".

Hope that helps!

Post a Comment for "Tensorflow: What Is The Output Node Name In Cifar-10 Model?"