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

[Runtime][Object] expose runtime::String to Python #5212

Merged
merged 2 commits into from
Apr 2, 2020

Conversation

zhiics
Copy link
Member

@zhiics zhiics commented Apr 2, 2020

This PR exposes the runtime String object to Python. Here we only registered the constructor so that we can pass String objects to C++ for #5211 .

Other utilities and refactor of StringImm to String will be added as a follow-up PR.

cc @tqchen @wweic @icemelon9

@tqchen
Copy link
Member

tqchen commented Apr 2, 2020

NOTE: this PR is sufficient for our current need, however, we will need to followup to make String behave more like a py str later

@tqchen tqchen merged commit 4195b2e into apache:master Apr 2, 2020
@zhiics zhiics deleted the string_container branch April 2, 2020 21:51
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Apr 16, 2020
* expose runtime::String to Python

* retrigger ci
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.

2 participants