Skip to content

Commit d870c51

Browse files
authored
Merge pull request #83 from sfujiwara/bug-fix-kaffe
bug fix for softmax layer in network.py
2 parents 0c5bf53 + c816236 commit d870c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kaffe/tensorflow/network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def softmax(self, input, name):
212212
input = tf.squeeze(input, squeeze_dims=[1, 2])
213213
else:
214214
raise ValueError('Rank 2 tensor input expected for softmax!')
215-
return tf.nn.softmax(input, name)
215+
return tf.nn.softmax(input, name=name)
216216

217217
@layer
218218
def batch_normalization(self, input, name, scale_offset=True, relu=False):

0 commit comments

Comments
 (0)