Turi Create
4.0
|
#include <model_server/lib/toolkit_function_wrapper_impl.hpp>
Fills in a boost::fusion::vector<T ...> with parameters from the std::vector<variant_type>.
InArgType is a boost::fusion::vector<T ...> representing the input arguments of the user defined function.
params is a vector of variants of the same length as InArgType.
Essentially, this performs the following simple task:
inargs[n] = params[n]
Except this cannot be done so easily because each entry in the boost fusion vector is of a different type. So a bit more work is needed.
Definition at line 254 of file toolkit_function_wrapper_impl.hpp.