tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::FuncTypeNode Class Reference

Function type. More...

#include <type.h>

Inheritance diagram for tvm::FuncTypeNode:
Collaboration diagram for tvm::FuncTypeNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (FuncTypeNode, TypeNode)
 
- Public Member Functions inherited from tvm::TypeNode
 TVM_DECLARE_BASE_OBJECT_INFO (TypeNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::TypeNode
static void RegisterReflection ()
 

Public Attributes

Array< Typearg_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...
 

Static Public Attributes

static constexpr const char * _type_key = "ir.FuncType"
 
- Static Public Attributes inherited from tvm::TypeNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr const char * _type_key = "ir.Type"
 
static constexpr const uint32_t _type_child_slots = 14
 

Detailed Description

Function type.

We support polymorphic function type. This can be roughly viewed as template function in C++.

See also
FuncType, TypeConstraint

Member Function Documentation

◆ RegisterReflection()

static void tvm::FuncTypeNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::FuncTypeNode::TVM_DECLARE_FINAL_OBJECT_INFO ( FuncTypeNode  ,
TypeNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::FuncTypeNode::_type_key = "ir.FuncType"
staticconstexpr

◆ arg_types

Array<Type> tvm::FuncTypeNode::arg_types

type type of arguments

◆ ret_type

Type tvm::FuncTypeNode::ret_type

The type of return value.


The documentation for this class was generated from the following file: