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

Information about an input field of an Op (name, type, description). More...

#include <op.h>

Inheritance diagram for tvm::ArgumentInfoNode:
Collaboration diagram for tvm::ArgumentInfoNode:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.ArgumentInfo", ArgumentInfoNode, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

ffi::String name
 name of the field More...
 
ffi::String type_info
 type docstring information in str. More...
 
ffi::String description
 detailed description of the type More...
 

Static Public Attributes

static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 

Detailed Description

Information about an input field of an Op (name, type, description).

Populated via OpRegEntry::add_argument and consumed both by internal sanity checks / error messages and by external tooling that wants to introspect an Op's argument schema.

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::ArgumentInfoNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "ir.ArgumentInfo"  ,
ArgumentInfoNode  ,
ffi::Object   
)

Member Data Documentation

◆ _type_s_eq_hash_kind

constexpr TVMFFISEqHashKind tvm::ArgumentInfoNode::_type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
staticconstexpr

◆ description

ffi::String tvm::ArgumentInfoNode::description

detailed description of the type

◆ name

ffi::String tvm::ArgumentInfoNode::name

name of the field

◆ type_info

ffi::String tvm::ArgumentInfoNode::type_info

type docstring information in str.


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