Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Conversation

@dashesy
Copy link

@dashesy dashesy commented May 7, 2019

Also warn about non-symmetric padding and strides, until support is added.

@lovettchris
Copy link
Member

Thanks, looks like another good pull request, I added some comments.

@dashesy
Copy link
Author

dashesy commented May 7, 2019

I cannot see the comments yet, will look as soon as you have finalized the CR.
Thanks

attributes['stride'] = self.strides[0]
if len(self.strides) > 1:
for s in self.strides[1:]:
if s != self.strides[0]:
Copy link
Member

Choose a reason for hiding this comment

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

how about "all(y == x[0] for y in x[1:])"

@dashesy
Copy link
Author

dashesy commented May 28, 2019

I will submit another PR

@dashesy dashesy closed this May 28, 2019
@lovettchris
Copy link
Member

Ok, thanks. I suspect the right fix might be to add some reinterpretlayout nodes on whatever nodes is downstream of the fc layer that needs something that is not 1d.

@dashesy dashesy reopened this Jun 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants