Просмотр исходного кода

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

update another initializer change
Olivia 8 лет назад
Родитель
Сommit
a689e124a8
1 измененных файлов с 1 добавлено и 1 удалено
  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.