tqchen commented on issue #338:
URL: https://github.com/apache/tvm-ffi/issues/338#issuecomment-3649378959
Thanks @tp-nan , i think there are a few middle ground to this.
Although it is harder for us to do it in the tvm-ffi due to the reason of
strong dep on RTTI. For your particular use case, one possible middle ground is
for your package to define a `ffi::StdAny` ObjectRef that wraps `std::any`
once, and have your downstream users to make use of that if needed.
When possible, for common builtin types(e.g. cv::Mat), we still encourage
have some form of explicitly bringing the type as objects that are recognized
by tvm-ffi, and the strategy can blend with the fallback strategy so you can
get good coverage while have some way to enable transition.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]