Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[BUGFIX] fix #18938, #18939, #18940 #19833

Merged
merged 2 commits into from
Feb 7, 2021
Merged

[BUGFIX] fix #18938, #18939, #18940 #19833

merged 2 commits into from
Feb 7, 2021

Conversation

r3stl355
Copy link
Contributor

@r3stl355 r3stl355 commented Feb 3, 2021

Description

Fixes #18938, ##18939 and ##18940

Checklist

Essentials

  • PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
  • Changes are complete (i.e. I finished coding on this PR)
  • All changes have test coverage
  • Code is well-documented

Changes

Return early if zero-sized dimension is used. Added test to test_operator.py

Comments

One caveat - for the solution to work NumPy shape semantics must be used as shown in the test, otherwise the shape's zero-sized dimension of the output gets converted to 'unknown' dimension in the call to [src.common.utils.h]::ConvertToNumpyShape which in turn will throw an error about unknown shape. I think it's alright to use NumPy shape semantics because the input is using NumPy semantics but if not then this will require a much bigger fix.

@mxnet-bot
Copy link

Hey @r3stl355 , Thanks for submitting the PR
All tests are already queued to run once. If tests fail, you can trigger one or more tests again with the following commands:

  • To trigger all jobs: @mxnet-bot run ci [all]
  • To trigger specific jobs: @mxnet-bot run ci [job1, job2]

CI supported jobs: [clang, windows-gpu, sanity, miscellaneous, centos-cpu, centos-gpu, unix-gpu, website, unix-cpu, edge, windows-cpu]


Note:
Only following 3 categories can trigger CI :PR Author, MXNet Committer, Jenkins Admin.
All CI tests must pass before the PR can be merged.

@lanking520 lanking520 added pr-awaiting-testing PR is reviewed and waiting CI build and test pr-work-in-progress PR is still work in progress and removed pr-awaiting-testing PR is reviewed and waiting CI build and test labels Feb 3, 2021
@lanking520 lanking520 added pr-awaiting-testing PR is reviewed and waiting CI build and test pr-work-in-progress PR is still work in progress and removed pr-work-in-progress PR is still work in progress pr-awaiting-testing PR is reviewed and waiting CI build and test labels Feb 5, 2021
@r3stl355
Copy link
Contributor Author

r3stl355 commented Feb 5, 2021

@mxnet-bot run ci [unix-cpu, miscellaneous]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [unix-cpu, miscellaneous]

@lanking520 lanking520 added pr-awaiting-testing PR is reviewed and waiting CI build and test pr-awaiting-review PR is waiting for code review and removed pr-work-in-progress PR is still work in progress pr-awaiting-testing PR is reviewed and waiting CI build and test labels Feb 5, 2021
@lanking520 lanking520 added pr-awaiting-testing PR is reviewed and waiting CI build and test and removed pr-awaiting-review PR is waiting for code review labels Feb 7, 2021
@r3stl355 r3stl355 changed the title [BUGFIX] fix #18938 [BUGFIX] fix #18938, #18938, #18940 Feb 7, 2021
@r3stl355 r3stl355 changed the title [BUGFIX] fix #18938, #18938, #18940 [BUGFIX] fix #18938, #18939, #18940 Feb 7, 2021
@r3stl355
Copy link
Contributor Author

r3stl355 commented Feb 7, 2021

Added fixes for #18939 and #18940 as they are very similar

@lanking520 lanking520 added pr-awaiting-merge Review and CI is complete. Ready to Merge and removed pr-awaiting-testing PR is reviewed and waiting CI build and test labels Feb 7, 2021
@szha szha merged commit 3dd678f into apache:master Feb 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr-awaiting-merge Review and CI is complete. Ready to Merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Floating point exception in mxnet.ndarray.op.SequenceLast
6 participants