|
tvm
|
Structure information about function. More...
#include <struct_info.h>
Public Member Functions | |
| bool | IsOpaque () const |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.FuncStructInfo", FuncStructInfoNode, StructInfoNode) | |
Public Member Functions inherited from tvm::relax::StructInfoNode | |
| TVM_FFI_DECLARE_OBJECT_INFO ("ir.StructInfo", StructInfoNode, Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Static Public Member Functions inherited from tvm::relax::StructInfoNode | |
| static void | RegisterReflection () |
Public Attributes | |
| ffi::Optional< ffi::Array< StructInfo > > | params |
| The parameter struct info of the function. More... | |
| StructInfo | ret |
| The struct info of the function's return value. More... | |
| ffi::Optional< StructInfoDeriveFunc > | derive_func |
| Derivation function of opaque functions that may take any number of parameters. More... | |
| bool | purity |
| Whether the function is pure. More... | |
Public Attributes inherited from tvm::relax::StructInfoNode | |
| Span | span |
| Span that points to the original source code. Reserved debug information. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from tvm::relax::StructInfoNode | |
| static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
| static constexpr const uint32_t | _type_child_slots = 7 |
Structure information about function.
This data structure contains enough information for us to do best-effort structure information deduction.
|
inline |
|
inlinestatic |
| tvm::relax::FuncStructInfoNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "relax.FuncStructInfo" | , |
| FuncStructInfoNode | , | ||
| StructInfoNode | |||
| ) |
| ffi::Optional<StructInfoDeriveFunc> tvm::relax::FuncStructInfoNode::derive_func |
Derivation function of opaque functions that may take any number of parameters.
| ffi::Optional<ffi::Array<StructInfo> > tvm::relax::FuncStructInfoNode::params |
The parameter struct info of the function.
| bool tvm::relax::FuncStructInfoNode::purity |
Whether the function is pure.
| StructInfo tvm::relax::FuncStructInfoNode::ret |
The struct info of the function's return value.