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

Change function constructors to WithFields #9690

Merged
merged 5 commits into from
Jan 26, 2022

Conversation

electriclilies
Copy link
Contributor

In this PR, I change function constructors to WithFields. I tried to change all of them but may have missed a few.

@electriclilies
Copy link
Contributor Author

i split these out from another branch, there are still some residual changes from that branch that I need to revert.

@electriclilies
Copy link
Contributor Author

This is ready for review, please take a look @mbs-octoml @mikepapadim.
Note that I rebased against #9826, so you'll see some changes from that in the diff until it is merged

@electriclilies electriclilies force-pushed the with_fields_functions branch 2 times, most recently from 8785d19 to 6001b53 Compare January 11, 2022 19:14
Copy link
Contributor

@mbs-octoml mbs-octoml left a comment

Choose a reason for hiding this comment

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

Thanks Lily! Just two minor changes asking to retain the existing shallow copies. I think this still needs to be rebased but no mind.

src/relay/transforms/inline.cc Outdated Show resolved Hide resolved
src/relay/transforms/to_cps.cc Outdated Show resolved Hide resolved
@jroesch jroesch merged commit 248ad45 into apache:main Jan 26, 2022
@electriclilies electriclilies deleted the with_fields_functions branch January 26, 2022 23:48
sunggg pushed a commit to sunggg/tvm that referenced this pull request Jan 29, 2022
* Change function constructors to WithFields

Get rid of std::moves, they were causing problems

* Fix bad rebase

* flaky

* try to trigger ci

* try again
ylc pushed a commit to ylc/tvm that referenced this pull request Feb 16, 2022
* Change function constructors to WithFields

Get rid of std::moves, they were causing problems

* Fix bad rebase

* flaky

* try to trigger ci

* try again
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