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

Slice Layer #3037

Closed
hedaoyuan opened this issue Jul 24, 2017 · 2 comments
Closed

Slice Layer #3037

hedaoyuan opened this issue Jul 24, 2017 · 2 comments

Comments

@hedaoyuan
Copy link
Contributor

Need to add Slice layer to support image detection applications. For example, slices an input image containing multiple channels into multiple outputs according to the specified indexes.

@hedaoyuan hedaoyuan added this to Application Requirements in Embedded and Mobile Deployment Jul 24, 2017
@hedaoyuan hedaoyuan self-assigned this Jul 24, 2017
@hedaoyuan hedaoyuan mentioned this issue Jul 31, 2017
@hedaoyuan
Copy link
Contributor Author

hedaoyuan commented Jul 31, 2017

In the image detection need to support the slice operation, the NCHW format image data can be sliced according to C dimensions, and the multiple outputs after slicing can be reassembled into a new output.
Such as the operation shown below.
image

@hedaoyuan
Copy link
Contributor Author

SliceProjection(slice)

SliceProjection can slice the input value into multiple parts, and then select some of them to merge into a new output.
The operations in SliceProjection include the following two parts:

  1. Calculate the slices that need to be merged into the output. (Get slice1-a, slice1-c, slice-a as the output slices of image1)
  2. Merge each slice into the output. (Merge the slice1-a, slice1-c, slice-a as a part of the final output)

heavengate pushed a commit to heavengate/Paddle that referenced this issue Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Embedded and Mobile Deployment
Application Requirements & Bug fix
Development

No branches or pull requests

1 participant