-
Notifications
You must be signed in to change notification settings - Fork 618
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
Pad operator: Add support for per-sample axes and fill_value arguments, and negative axes #3534
Conversation
if (shape_.num_elements() == 0) { | ||
shape_ = uniform_list_shape(nsamples, sh); | ||
} else { | ||
for (int i = 0; i < shape_.size(); i++) { |
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.
before empty samples were not properly supported (only empty constant).
Note: New tests added to slice to cover that as well
4c72bee
to
5c24d3f
Compare
Signed-off-by: Joaquin Anton <janton@nvidia.com>
5c24d3f
to
9456d06
Compare
!build |
CI MESSAGE: [3493009]: BUILD STARTED |
CI MESSAGE: [3493009]: BUILD FAILED |
!build |
CI MESSAGE: [3499027]: BUILD STARTED |
CI MESSAGE: [3499027]: BUILD FAILED |
!build |
CI MESSAGE: [3499948]: BUILD STARTED |
CI MESSAGE: [3499948]: BUILD FAILED |
!build |
CI MESSAGE: [3501892]: BUILD STARTED |
CI MESSAGE: [3501892]: BUILD FAILED |
CI MESSAGE: [3501892]: BUILD PASSED |
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
…s, and negative axes (NVIDIA#3534) Signed-off-by: Joaquin Anton <janton@nvidia.com>
Signed-off-by: Joaquin Anton janton@nvidia.com
Description
What happened in this PR
Enhanced Pad operator to support the following:
This PR also extracts some test utilities to be reused both in Slice and Pad tests, to avoid repetition
Additional information
Pad operator
Changes in pad operator
Checklist
Tests
Documentation
DALI team only
Requirements
REQ IDs: PAD.06
JIRA TASK: DALI-2479