[TIR] Create a StringImm reference type (#4806)
authormbarrett97 <55580676+mbarrett97@users.noreply.github.com>
Mon, 3 Feb 2020 17:55:43 +0000 (17:55 +0000)
committerGitHub <noreply@github.com>
Mon, 3 Feb 2020 17:55:43 +0000 (09:55 -0800)
commitc39ab93d69ec7d2553446ba9a31055dd5e4579e8
tree1086038e0746aa8d0a31573683ad18741a7e2fd0
parentbb1b7db33e322fbca49493b2633539ba24abbe9d
[TIR] Create a StringImm reference type (#4806)

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
include/tvm/tir/expr.h