! * \brief Convert a Python object to a FFI Any * \param py_arg The python argument to be set * \param out The output argument * \param c_api_ret_code The return code of the function * \return 0 on success, nonzero on failure */
| 923 | * \return 0 on success, nonzero on failure |
| 924 | */ |
| 925 | TVM_FFI_INLINE int TVMFFIPyPyObjectToFFIAny(PyObject* py_arg, TVMFFIAny* out, int* c_api_ret_code) { |
| 926 | return TVMFFIPyCallManager::ThreadLocal()->PyObjectToFFIAny(py_arg, out, c_api_ret_code); |
| 927 | } |
| 928 | |
| 929 | /*! |
| 930 | * \brief Get the size of the arg dispatch map |
nothing calls this directly
no test coverage detected