Skip to content

Conversation

@zsdonghao
Copy link
Member

@zsdonghao zsdonghao commented Mar 4, 2018

Address the issue 367

@tensorlayer tensorlayer deleted a comment Mar 4, 2018
@tensorlayer tensorlayer deleted a comment Mar 4, 2018
for l in layers[1:]:
if str(self.outputs.get_shape()) != str(l.outputs.get_shape()):
raise Exception("Hint: the input shapes should be the same. %s != %s" % (self.outputs.get_shape(), str(l.outputs.get_shape())))
# if str(self.outputs.get_shape()) != str(l.outputs.get_shape()): # issue 376
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to delete this line in order to constantly shorten our codebase

@tensorlayer tensorlayer deleted a comment Mar 5, 2018
@luomai luomai changed the title update ElementwiseLayer for #376 Remove unnecessary check in ElementwiseLayer (issue #376) Mar 5, 2018
@tensorlayer tensorlayer deleted a comment Mar 5, 2018
@luomai luomai merged commit d785da7 into master Mar 5, 2018
@luomai luomai deleted the elementwise-assert-remove branch March 5, 2018 13:51
luomai pushed a commit that referenced this pull request Nov 21, 2018
* update ElementwiseLayer for #376

* elementwise supports activation

* Update merge.py

* Update merge.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants