tvm
Public Member Functions | List of all members
tvm::tir::Instruction Class Reference

Managed reference to InstructionNode. More...

#include <instruction.h>

Inheritance diagram for tvm::tir::Instruction:
Collaboration diagram for tvm::tir::Instruction:

Public Member Functions

 Instruction (InstructionKind kind, ffi::Array< Any > inputs, ffi::Array< Any > attrs, ffi::Array< Any > outputs)
 Constructor. More...
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (Instruction, runtime::ObjectRef, InstructionNode)
 

Detailed Description

Managed reference to InstructionNode.

See also
InstructionNode

Constructor & Destructor Documentation

◆ Instruction()

tvm::tir::Instruction::Instruction ( InstructionKind  kind,
ffi::Array< Any >  inputs,
ffi::Array< Any >  attrs,
ffi::Array< Any >  outputs 
)
explicit

Constructor.

Parameters
kindThe kind of the instruction
inputsThe input random variables of the instruction
attrsThe attributes of the instruction
outputsThe output random variables of the instruction

Member Function Documentation

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE()

tvm::tir::Instruction::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE ( Instruction  ,
runtime::ObjectRef  ,
InstructionNode   
)

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