This repository was archived by the owner on Jul 17, 2024. It is now read-only.
Handle fc layer output shape when C is single dimension#219
Open
dashesy wants to merge 1 commit intomicrosoft:masterfrom
Open
Handle fc layer output shape when C is single dimension#219dashesy wants to merge 1 commit intomicrosoft:masterfrom
dashesy wants to merge 1 commit intomicrosoft:masterfrom
Conversation
Member
|
Thanks, looks like another good pull request, I added some comments. |
Author
|
I cannot see the comments yet, will look as soon as you have finalized the CR. |
lovettchris
reviewed
May 7, 2019
| attributes['stride'] = self.strides[0] | ||
| if len(self.strides) > 1: | ||
| for s in self.strides[1:]: | ||
| if s != self.strides[0]: |
Member
There was a problem hiding this comment.
how about "all(y == x[0] for y in x[1:])"
Author
|
I will submit another PR |
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also warn about non-symmetric padding and strides, until support is added.