Skip to content

[TIR] Create a StringImm reference type - #4806

Merged
tqchen merged 1 commit into
apache:masterfrom
mbaret:stringimm
Feb 3, 2020
Merged

[TIR] Create a StringImm reference type#4806
tqchen merged 1 commit into
apache:masterfrom
mbaret:stringimm

Conversation

@mbaret

Copy link
Copy Markdown
Contributor

This is motivated by the want to send an array of strings across the python/C++ boundary. Arrays only support ObjectRef types and so can't carry StringImmNodes. This creates a string reference type, StringImm, which can be used with tvm::Arrays.

This is motivated by the want to send an
array of strings across the python/C++
boundary. Arrays only support ObjectRef types
and so can't carry StringImmNodes. This creates
a string reference type, StringImm, which can
be used with tvm::Arrays.
Change-Id: I598a44536c156b97dbfe3e9518e0a1f705da850c
@mbaret
mbaret requested a review from tqchenFebruary 3, 2020 15:45
@tqchen

Copy link
Copy Markdown
Member

Thanks @mbarrett97 This is Approved. However, we would recommend to switch to #4628 once it is ready cc @wweic

@tqchen
tqchen merged commit c39ab93 into apache:masterFeb 3, 2020
alexwong pushed a commit to alexwong/tvm that referenced this pull request Feb 26, 2020
This is motivated by the want to send an
array of strings across the python/C++
boundary. Arrays only support ObjectRef types
and so can't carry StringImmNodes. This creates
a string reference type, StringImm, which can
be used with tvm::Arrays.
Change-Id: I598a44536c156b97dbfe3e9518e0a1f705da850c
alexwong pushed a commit to alexwong/tvm that referenced this pull request Feb 28, 2020
This is motivated by the want to send an
array of strings across the python/C++
boundary. Arrays only support ObjectRef types
and so can't carry StringImmNodes. This creates
a string reference type, StringImm, which can
be used with tvm::Arrays.
Change-Id: I598a44536c156b97dbfe3e9518e0a1f705da850c
zhiics pushed a commit to neo-ai/tvm that referenced this pull request Mar 2, 2020
This is motivated by the want to send an
array of strings across the python/C++
boundary. Arrays only support ObjectRef types
and so can't carry StringImmNodes. This creates
a string reference type, StringImm, which can
be used with tvm::Arrays.
Change-Id: I598a44536c156b97dbfe3e9518e0a1f705da850c
Sign up for freeto 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

@mbaret@tqchen