Skip to content

add arg test plus a few minor fixes #1049

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

Merged
merged 3 commits into from
Jul 5, 2018
Merged

add arg test plus a few minor fixes #1049

merged 3 commits into from
Jul 5, 2018

Conversation

liqunfu
Copy link
Collaborator

@liqunfu liqunfu commented May 30, 2018

No description provided.

@@ -18,7 +18,7 @@ def export_nearest(): # type: () -> None
'Upsample',
inputs=['x'],
outputs=['y'],
scales=[1.0, 1.0, 2.0, 3.0],
scales=[2.0, 3.0],
mode='nearest',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no. it was discussed and agreed to keep the element number of scales the same as the rank of inputs. In this test case, the input's rank is 4, and we don't want to upsample the 1st and 2nd dimension, so it's 1.0. Make sense?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the upsample op now support multiple-D input tensor now (instead of 4-D tensor previously).

@linkerzhang linkerzhang requested a review from houseroad May 30, 2018 03:59
liqunfu and others added 2 commits June 29, 2018 11:31
fix type annotation, undo upsample change

add arg test plus a few minor fixes

fix type annotation, undo upsample change

Polish the test case
facebook-github-bot pushed a commit to pytorch/pytorch that referenced this pull request Jul 5, 2018
)

Summary:
Pass the end to end test cases in onnx/onnx#1049
Closes #9050

Reviewed By: hlu1

Differential Revision: D8703757

Pulled By: houseroad

fbshipit-source-id: 63308202e349dfc02d532e87f49495ba1aab085b
@houseroad houseroad dismissed linkerzhang’s stale review July 5, 2018 21:32

Updated the PR

@houseroad houseroad merged commit 1120bd6 into onnx:master Jul 5, 2018
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
…torch#9050)

Summary:
Pass the end to end test cases in onnx/onnx#1049
Closes pytorch#9050

Reviewed By: hlu1

Differential Revision: D8703757

Pulled By: houseroad

fbshipit-source-id: 63308202e349dfc02d532e87f49495ba1aab085b
hariharans29 pushed a commit to hariharans29/onnx that referenced this pull request Aug 15, 2019
* add arg test plus a few minor fixes

fix type annotation, undo upsample change

add arg test plus a few minor fixes

fix type annotation, undo upsample change

Polish the test case

* Update test cases for ArgMax and ArgMin
jcwchen pushed a commit to jcwchen/onnx that referenced this pull request Sep 23, 2020
* add arg test plus a few minor fixes

fix type annotation, undo upsample change

add arg test plus a few minor fixes

fix type annotation, undo upsample change

Polish the test case

* Update test cases for ArgMax and ArgMin
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.

3 participants