-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Add split dim layer #680
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
Add split dim layer #680
Conversation
@sguada Can you give me a feedback? |
@shelhamer Can anybody give me a feedback? |
@bhack Although I think having fixed size slice/split can be useful in some specific situations, I think to make it really compatible as Concat reverse one would need to specify different sizes. As mentioned in our previous conversation in #596 I would add another repeated param, slice_point that would allow to define the points for slicing, and therefore obtain different sizes blobs. So either there are no slice_point defined, in which case it will use equal size slices, or if there defined, then there should be one per top. @bhack if your think adding this feature would be too complex, we can leave it for another PR. Agree with @shelhamer in that Slice could be a better name. |
Renamed. I've also tried to add split index. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Takes one bottom blob, ...
creates as many top blobs as needed
Differentiate top test blob vector size Rename to SplitLayer Add slicing points
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add another test for set_slice_dim(1)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the next TestCPUSetupChannels. Default dim is 1
Please address some of the comments and wait for Travis to pass all the test, after that it could be merged. |
Implement a split by dim layer.
Please take a look at #596 comments