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

Fix multi-channel fill value check in Erase operator #1675

Merged
merged 2 commits into from
Jan 23, 2020

Conversation

jantonguirao
Copy link
Contributor

Signed-off-by: Joaquin Anton janton@nvidia.com

Why we need this PR?

Pick one, remove the rest

  • It fixes a bug in erase operator

What happened in this PR?

Fill relevant points, put NA otherwise. Replace anything inside []

  • What solution was applied:
    • Fix multi-channel fill_value argument check. fill_value can have more than 1 value only if the input layout has a 'C' (channel) dimension*
  • Affected modules and functionalities:
    Erase operator
  • Key points relevant for the review:
    All
  • Validation and testing:
    N/A
  • Documentation (including examples):
    N/A

JIRA TASK: [Use DALI-XXXX or NA]

Signed-off-by: Joaquin Anton <janton@nvidia.com>
@jantonguirao jantonguirao requested a review from a team January 20, 2020 09:29
@jantonguirao
Copy link
Contributor Author

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1081895]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1081895]: BUILD FAILED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1081895]: BUILD PASSED

@JanuszL
Copy link
Contributor

JanuszL commented Jan 20, 2020

Can you add a test to https://github.com/NVIDIA/DALI/blob/master/dali/test/python/test_operator_erase.py for the fixed case?

Signed-off-by: Joaquin Anton <janton@nvidia.com>
@jantonguirao
Copy link
Contributor Author

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1085132]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1085132]: BUILD PASSED

@JanuszL JanuszL merged commit 5f46b61 into NVIDIA:master Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants