Prechádzať zdrojové kódy

Merge pull request #928 from tensorflow/itsmeolivia-patch-1

update another initializer change
Olivia 8 rokov pred
rodič
commit
a689e124a8
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      inception/inception/slim/variables.py

+ 1 - 1
inception/inception/slim/variables.py

@@ -33,7 +33,7 @@ Usage:
 
   biases = variables.variable('biases',
                               shape=[100],
-                              initializer=tf.zeros_initializer,
+                              initializer=tf.zeros_initializer(),
                               device='/cpu:0')
 
   # More complex example.