Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug fix for softmax layer in network.py #83

Merged
merged 1 commit into from
Jan 16, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bug fix for softmax layer in network.py
  • Loading branch information
sfujiwara committed Dec 26, 2016
commit c8162367ffc506f3d39766ef57a756767062fc5b
2 changes: 1 addition & 1 deletion kaffe/tensorflow/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def softmax(self, input, name):
input = tf.squeeze(input, squeeze_dims=[1, 2])
else:
raise ValueError('Rank 2 tensor input expected for softmax!')
return tf.nn.softmax(input, name)
return tf.nn.softmax(input, name=name)

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