tvm
|
The bytecode for Relay virtual machine. More...
#include <tvm/runtime/data_type.h>
#include <tvm/runtime/logging.h>
#include <iostream>
#include <vector>
Go to the source code of this file.
Classes | |
struct | tvm::runtime::vm::Instruction |
A single virtual machine instruction. More... | |
Namespaces | |
tvm | |
runtime implementation for LibTorch/TorchScript. | |
tvm::runtime | |
tvm::runtime::vm | |
Typedefs | |
using | tvm::runtime::vm::RegName = int64_t |
A register name. More... | |
using | tvm::runtime::vm::Index = int64_t |
An alias for the integer type used ubiquitously in the VM. More... | |
Enumerations | |
enum | tvm::runtime::vm::Opcode { tvm::runtime::vm::Opcode::Move = 0U, tvm::runtime::vm::Opcode::Ret = 1U, tvm::runtime::vm::Opcode::Invoke = 2U, tvm::runtime::vm::Opcode::InvokeClosure = 3U, tvm::runtime::vm::Opcode::InvokePacked = 4U, tvm::runtime::vm::Opcode::AllocTensor = 5U, tvm::runtime::vm::Opcode::AllocTensorReg = 6U, tvm::runtime::vm::Opcode::AllocADT = 7U, tvm::runtime::vm::Opcode::AllocClosure = 8U, tvm::runtime::vm::Opcode::GetField = 9U, tvm::runtime::vm::Opcode::If = 10U, tvm::runtime::vm::Opcode::LoadConst = 11U, tvm::runtime::vm::Opcode::Goto = 12U, tvm::runtime::vm::Opcode::GetTag = 13U, tvm::runtime::vm::Opcode::LoadConsti = 14U, tvm::runtime::vm::Opcode::Fatal = 15U, tvm::runtime::vm::Opcode::AllocStorage = 16U, tvm::runtime::vm::Opcode::ShapeOf = 17U, tvm::runtime::vm::Opcode::ReshapeTensor = 18U, tvm::runtime::vm::Opcode::DeviceCopy = 19U, tvm::runtime::vm::Opcode::KillRegister = 20U } |
An enumeration of Relay's opcodes. More... | |
The bytecode for Relay virtual machine.