|
tvm
|
Function type. More...
#include <type.h>
Public Member Functions | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.FuncType", FuncTypeNode, TypeNode) | |
Public Member Functions inherited from tvm::TypeNode | |
| TVM_FFI_DECLARE_OBJECT_INFO ("ir.Type", TypeNode, Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Static Public Member Functions inherited from tvm::TypeNode | |
| static void | RegisterReflection () |
Public Attributes | |
| ffi::Array< Type > | arg_types |
| type type of arguments More... | |
| Type | ret_type |
| The type of return value. More... | |
Public Attributes inherited from tvm::TypeNode | |
| Span | span |
| Span that points to the original source code. Reserved debug information. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from tvm::TypeNode | |
| static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
| static constexpr const uint32_t | _type_child_slots = 14 |
Function type.
We support polymorphic function type. This can be roughly viewed as template function in C++.
|
inlinestatic |
| tvm::FuncTypeNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "ir.FuncType" | , |
| FuncTypeNode | , | ||
| TypeNode | |||
| ) |
| ffi::Array<Type> tvm::FuncTypeNode::arg_types |
type type of arguments
| Type tvm::FuncTypeNode::ret_type |
The type of return value.