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

Schedule instructions each corresponds to a schedule primitive. More...

#include <instruction.h>

Inheritance diagram for tvm::tir::InstructionNode:
Collaboration diagram for tvm::tir::InstructionNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (InstructionNode, runtime::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

InstructionKind kind
 The kind of the instruction. More...
 
Array< Any > inputs
 The input random variables of the instruction, and the type of each element can be one of the following: More...
 
Array< Any > attrs
 The attributes of the instruction. Similar to attributes of an operator, attributes of an instruction are arbitrary constant metadata required by the instructions. For example, the name of the block to be retrieved in GetBlock. More...
 
Array< Any > outputs
 The output random variables of the instruction, and the type of each element can be one of the following: More...
 

Static Public Attributes

static constexpr const char * _type_key = "tir.Instruction"
 

Detailed Description

Schedule instructions each corresponds to a schedule primitive.

Member Function Documentation

◆ RegisterReflection()

static void tvm::tir::InstructionNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::tir::InstructionNode::TVM_DECLARE_FINAL_OBJECT_INFO ( InstructionNode  ,
runtime::Object   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::tir::InstructionNode::_type_key = "tir.Instruction"
staticconstexpr

◆ attrs

Array<Any> tvm::tir::InstructionNode::attrs

The attributes of the instruction. Similar to attributes of an operator, attributes of an instruction are arbitrary constant metadata required by the instructions. For example, the name of the block to be retrieved in GetBlock.

◆ inputs

Array<Any> tvm::tir::InstructionNode::inputs

The input random variables of the instruction, and the type of each element can be one of the following:

◆ kind

InstructionKind tvm::tir::InstructionNode::kind

The kind of the instruction.

◆ outputs

Array<Any> tvm::tir::InstructionNode::outputs

The output random variables of the instruction, and the type of each element can be one of the following:


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