Przeglądaj źródła

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

update another initializer change
Olivia 8 lat temu
rodzic
commit
a689e124a8
1 zmienionych plików z 1 dodań i 1 usunięć
  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.