PointerType used in the low-level TIR. Parameters ---------- element_type : tvm.ir.Type The type of pointer's element. storage_scope : str The storage scope into which the pointer addresses.
| 56 | |
| 57 | @tvm_ffi.register_object("ir.PointerType") |
| 58 | class PointerType(Type): |
| 59 | """PointerType used in the low-level TIR. |
| 60 | |
| 61 | Parameters |
| 62 | ---------- |
| 63 | element_type : tvm.ir.Type |
| 64 | The type of pointer's element. |
| 65 | |
| 66 | storage_scope : str |
| 67 | The storage scope into which the pointer addresses. |
| 68 | """ |
| 69 | |
| 70 | def __init__(self, element_type, storage_scope=""): |
| 71 | self.__init_handle_by_constructor__(_ffi_api.PointerType, element_type, storage_scope) |
| 72 | |
| 73 | |
| 74 | @tvm_ffi.register_object("ir.TupleType") |
no outgoing calls
searching dependent graphs…