tvm_ffi.convert#
- tvm_ffi.convert(value)[source]#
Convert a python object to ffi values.
- Parameters:
value (
Any) – The python object to be converted.- Return type:
- Returns:
ffi_obj – The converted TVM FFI object.
Note
Function arguments to ffi function calls are automatically converted. So this function is mainly only used in internal or testing scenarios.