Internal auxiliary struct for TypedPackedFunc to indicate a movable argument with additional context information (function name and argument index) for better error reporting.
More...
#include <packed_func.h>
Internal auxiliary struct for TypedPackedFunc to indicate a movable argument with additional context information (function name and argument index) for better error reporting.
- See also
- MovableArgValue_
- Note
- For internal development purpose only.
◆ TVMMovableArgValueWithContext_()
tvm::runtime::TVMMovableArgValueWithContext_::TVMMovableArgValueWithContext_ |
( |
TVMValue |
value, |
|
|
int |
type_code, |
|
|
int |
arg_index, |
|
|
const std::string * |
optional_name, |
|
|
FSig * |
f_sig |
|
) |
| |
|
inline |
move constructor from another return value.
- Parameters
-
value | The other return value. |
type_code | The code associated with the type of the value. |
arg_index | In a function call, this argument is at index arg_index (0-indexed). |
optional_name | Name of the function being called. Can be nullptr if the function is not. |
f_sig | Pointer to static function outputting signature of the function being called. named. |
◆ operator T()
template<typename T >
tvm::runtime::TVMMovableArgValueWithContext_::operator T |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: