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