Managed reference to TypeObj.
More...
#include <type.h>
Managed reference to TypeObj.
- See also
- TypeObj
◆ Expose()
| static void tvm::Type::Expose |
( |
| ) |
|
|
inlinestatic |
Request API exposure of a registered IR object type.
- Template Parameters
-
| TypeObj | The object class, not its reference wrapper. |
- Note
- Finish the ObjectDef statement and constructor registration before calling. Does nothing if the optional receiver was absent on the string helper's first call.
ffi::reflection::ObjectDef<FooTypeObj>().def_ro("value", &FooTypeObj::value);
Type::Expose<FooTypeObj>();
◆ Missing()
Construct a MissingType for type information not yet populated.
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
| tvm::Type::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE |
( |
Type |
, |
|
|
ffi::ObjectRef |
, |
|
|
TypeObj |
|
|
) |
| |
The documentation for this class was generated from the following file:
- 3rdparty/tvm-tirx/include/tvm/ir/type.h