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

[Relay] add python doc for function in ir_pass #1877

Merged
merged 4 commits into from
Oct 12, 2018

Conversation

MarisaKirisame
Copy link
Contributor

It is almost done - I have no idea what to do with check_kind.
If there is only 1 arg, it is interpreted as type.
If there is only 2 arg, the first is env, and the second is type.
what should I do? redesign the check_kind interface to has env coming last?

@slyubomirsky
Copy link
Contributor

Weird, I thought the env already was the second argument for check_kind. Yes, I think it would be totally reasonable to change the interface in that manner, definitely how it should have been done in the first place

@MarisaKirisame
Copy link
Contributor Author

MarisaKirisame commented Oct 10, 2018

@slyubomirsky it was probably lost in the sea of git branches.
No worry, I got it then.

@MarisaKirisame
Copy link
Contributor Author

It is all good.
@slyubomirsky @joshpoll @masahi can you guys review?

@slyubomirsky
Copy link
Contributor

If the tests pass, it looks good to me.

t: relay.Type
The type to check

env: relay.Environment
Copy link
Member

Choose a reason for hiding this comment

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

env: relay.Environment, optional

@MarisaKirisame
Copy link
Contributor Author

@tqchen I had addressed the review comment.

@tqchen tqchen merged commit 2c9d70a into apache:master Oct 12, 2018
@MarisaKirisame MarisaKirisame deleted the fix-doc branch October 12, 2018 06:10
FrozenGene pushed a commit to FrozenGene/tvm that referenced this pull request Dec 27, 2018
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