-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[RUST][FRONTEND] macro for constructing the builder #2305
Comments
to avoid creating too many issues, please merge most of them into a single rust FRONTEND working item issue and only open new issue when we think we can act on it soon(say can be closed in two weeks) |
Noted! Given the upcoming holidays, might be qualified in the timeline. |
@tqchen @nhynes I decided to keep the ball rolling before the holidays. Regarding the macro, currently
and to ensure the output to have at most one value, we can use In my opinion this is rather an icing-on-the-cake macro. What do you think? |
what you're describing seems almost exactly what |
Actually, on second reading. I'm really unconvinced that all of this |
@nhynes Honestly, I don't see any added complexity.
which I thought this issue is about and making it general can make things more clearer by something like
Finally, frontend needs to be able to register global functions and the whole mechanism fits things together in |
Okay, then let's modify |
Sure! since this issue is addressing your first proposition, shall we move on and make a succinct plan after frontend is merged in next iteration? note that there's definitely room for improvements from both side and we're just releasing v0.1 which is somewhat far from TVM v0.5 (if matching it is a concern). |
Sure Builder can be improved once we merge everything in. We're going to need to update |
The proposed
tvm_call!
doesn't not acceptset_output
. Expand the macro with perhaps some related syntax extension. TODO #2292The text was updated successfully, but these errors were encountered: