nan2088 opened a new issue, #357:
URL: https://github.com/apache/tvm-ffi/issues/357
```python
import tvm_ffi
mod = tvm_ffi.cpp.load_inline(name='hello',
cpp_sources="""
#include <limits>
tvm::ffi::Any example_func() {
return std::numeric_limits<size_t>::max();
}
""",
functions=['example_func'])
result = mod.example_func()
print(f'result={result} type={type(result)}')
```
result=-1 type=<class 'int'>
--
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]