Class PtrType#
Defined in File type.h
Inheritance Relationships#
Base Type#
public tvm::Type(Class Type)
Class Documentation#
-
class PtrType : public tvm::Type#
Public Types
-
using ContainerType = PtrTypeObj#
Public Functions
-
explicit PtrType(Type element_type, runtime::MemoryScope scope = {})#
Constructor.
- Parameters:
element_type – The type of the element which the pointer points to.
scope – The storage scope into which the pointer addresses
-
inline explicit PtrType(::tvm::ffi::UnsafeInit tag)#
-
inline __PtrType operator->() const#
-
inline __PtrType get() const#
Public Static Functions
-
static PtrType VoidPtrType(runtime::MemoryScope scope = {})#
Construct an opaque pointer with void element type.
-
using ContainerType = PtrTypeObj#