This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[MXNET-891] Support tuple of scales in upsample operator #15811
Open
benhe2011
wants to merge
91
commits into
apache:master
Choose a base branch
from
benhe2011:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 80 commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
6f86613
added support for tuple dimenions except for upsamplingforward function
benhe2011 e59245d
modified mshadow to support separate dimension scales
benhe2011 a0781af
add make script
benhe2011 a10a840
save patches for tuple support
benhe2011 3f7f64f
fixed e scales member bug
benhe2011 3cf44c6
fix e scales member var bug
benhe2011 3e54dec
added initializations for plan struct
benhe2011 9659057
fixed syntax error
benhe2011 2b18eea
add print msg to make sure up-to-date
benhe2011 c8c3d01
moved update check msg
benhe2011 592e3aa
fixed some more syntax bugs
benhe2011 76209ae
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 7f67ba8
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 9a44fab
modified test cases
benhe2011 65f7ac3
removed files created for testing upsampling
benhe2011 496f1d6
removed some unnecessary extra lines
benhe2011 4924b98
put repeated code into scaleComp function
benhe2011 c96172f
change scalepointer to array
benhe2011 4c1d31d
fix scale_hw syntax error
benhe2011 9b01e02
change scaleComp to return dynamically allocated array
benhe2011 4858738
deleted commented out sections
benhe2011 37ba2e7
formatting
benhe2011 81b54cf
modified test cases
benhe2011 ccca549
formatting and added case in test_operator to handle if no values are…
benhe2011 b2a8d0b
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 ac13554
removed test script
benhe2011 611df32
some whitespace reformatting in upsampling-inl.h
benhe2011 9ce3127
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 328fdf2
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 21572b8
more whitespace reformatting based on github checks
benhe2011 238a7cf
more whitespace formatting-line 136/137
benhe2011 2154f4c
inserted prin msg for scala test debugging (throwaway)
benhe2011 d02fbe5
removed throwaway scala test case print statement
benhe2011 77d296c
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 64b705f
update temporary testing file
benhe2011 a2a6b46
update temp testing file again
benhe2011 435fce4
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 9668f1e
modified scala demo to help with debugging scala test case
benhe2011 049e708
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 4336d6e
modified scala demo to debug upsampling scala test case
benhe2011 2f2bb7b
temporary changes to scala demo for debugging
benhe2011 23834d9
removed edits to hello world scala demo code
benhe2011 8229db4
Merge branch 'master' of git://github.com/apache/incubator-mxnet into…
benhe2011 dbd387e
minimal changes to scala and clojure tests for Upsampling operator so…
benhe2011 1ea1e7c
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 2f2809e
removed temporary upsampling testing file
benhe2011 531cf4d
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 1b0d39a
added Vandana's 14942 PR edits
benhe2011 15cdf1f
Revert "added Vandana's 14942 PR edits"
benhe2011 bcbfc90
clojure syntax error fix
benhe2011 0dbdbb5
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 6a31cb3
change clojure test for Upsampling operator so that only single shape…
benhe2011 a931a1b
clojure test change for tuple-supported upsampling operator syntax fix
benhe2011 407a6b9
modified clojure test for tuple-supported upsampling operator syntax …
benhe2011 c8f952b
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 5bd1463
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 f354034
used scaleComp function to replace code block in upsampling.cc
benhe2011 706f39a
fix syntax error from previous commit
benhe2011 b214bb2
removed some comments
benhe2011 7a7d613
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 5b409c7
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 83e44c5
empty commit
benhe2011 12741af
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 5050cbb
fixed bug when multiple shapes are passed
benhe2011 ec77909
remodified upsampling tests
benhe2011 6e75cab
fixed test_operator parameter list bug
benhe2011 93f7955
fixed test_operator.py test cases for upsampling
benhe2011 e8940c1
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 c69baae
removed onnx changes to be put in a different PR
benhe2011 d76ac2a
removed extra line
benhe2011 dd4121c
removed some comments
benhe2011 74c10c2
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 6cfc3a9
removed an onnx test case
benhe2011 b3299c2
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 0cfe594
changed scaleComp to return vector for scale values
benhe2011 b3dc940
fixed small syntax error
benhe2011 43a1621
added explanation for upsampling test cases in test_operator
benhe2011 f8be93a
added explanation for test_operator upsampling test
benhe2011 b461a39
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 d3eff5a
fixed syntax error in test_operator
benhe2011 d687d4d
scaleComp tshape debugging test
benhe2011 53a79f0
fix syntax error
benhe2011 413f0f3
more scaleComp tuple debug testing
benhe2011 00d226b
changed scaleComp in upsampling implementation to return TShape
benhe2011 9c033e3
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 c233e2d
some space formatting, changed ::fmod operation in upsampling.cc, add…
benhe2011 435b330
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 7cf5f6c
modified test cases in test_operator.py for upsampling
benhe2011 ea0ca72
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 baf3357
modified test cases for upsampling
benhe2011 f4df285
Merge branch 'master' of git://github.com/apache/incubator-mxnet
benhe2011 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is this going to break backward compatibility?
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.
I believe it is still backwards compatible, as it supports a scale as either an integer or a tuple.
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.
Can you use mxnet::TShape to clarify that you're not using nnvm::TShape or vice-versa.
Can you please explain how this will work for passing in a scalar argument? I dont see TShape constructor taking a single scalar value.
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.
Yep, made changes. Not sure if there's any historical or significant reason for the 1000 range limit though.