tkonolige opened a new issue, #13059:
URL: https://github.com/apache/tvm/issues/13059
```
import tvm
tvm.ir.load_json(open("cant_print.json").read()).script()
```
`cant_print.json`:
```
{
"root": 1,
"nodes": [
{
"type_key": ""
},
{
"type_key": "tir.PrimFunc",
"attrs": {
"_checked_type_": "397",
"attrs": "392",
"body": "15",
"buffer_map": "390",
"params": "2",
"preflattened_buffer_map": "391",
"ret_type": "388",
"span": "0"
}
},
{
"type_key": "Array",
"data": [3, 6, 9, 12]
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "handle",
"name": "4",
"span": "0",
"type_annotation": "5"
}
},
{
"type_key": "runtime.String",
"repr_str": "p0"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "handle"}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "handle",
"name": "7",
"span": "0",
"type_annotation": "8"
}
},
{
"type_key": "runtime.String",
"repr_str": "p1"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "handle"}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "handle",
"name": "10",
"span": "0",
"type_annotation": "11"
}
},
{
"type_key": "runtime.String",
"repr_str": "p2"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "handle"}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "handle",
"name": "13",
"span": "0",
"type_annotation": "14"
}
},
{
"type_key": "runtime.String",
"repr_str": "T_subtract"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "handle"}
},
{
"type_key": "tir.BufferRealize",
"attrs": {
"body": "43",
"bounds": "31",
"buffer": "16",
"condition": "42",
"span": "0"
}
},
{
"type_key": "tir.Buffer",
"attrs": {
"axis_separators": "29",
"buffer_type": "1",
"data": "17",
"data_alignment": "64",
"dtype": "int32",
"elem_offset": "30",
"name": "13",
"offset_factor": "1",
"shape": "22",
"span": "0",
"strides": "28"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "handle",
"name": "18",
"span": "0",
"type_annotation": "19"
}
},
{
"type_key": "runtime.String",
"repr_str": "T_subtract"
},
{
"type_key": "PointerType",
"attrs": {
"element_type": "20",
"storage_scope": "21"
}
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "runtime.String"
},
{
"type_key": "Array",
"data": [23, 24, 25, 26, 27]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "48"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "14"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "14"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "16"
}
},
{
"type_key": "Array"
},
{
"type_key": "Array"
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "Array",
"data": [32, 34, 36, 38, 40]
},
{
"type_key": "Range",
"attrs": {
"extent": "23",
"min": "33",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "Range",
"attrs": {
"extent": "24",
"min": "35",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "Range",
"attrs": {
"extent": "25",
"min": "37",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "Range",
"attrs": {
"extent": "26",
"min": "39",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "Range",
"attrs": {
"extent": "27",
"min": "41",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "bool",
"span": "0",
"value": "1"
}
},
{
"type_key": "tir.For",
"attrs": {
"annotations": "387",
"body": "49",
"extent": "48",
"kind": "1",
"loop_var": "44",
"min": "47",
"span": "0",
"thread_binding": "0"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "int32",
"name": "45",
"span": "0",
"type_annotation": "46"
}
},
{
"type_key": "runtime.String",
"repr_str": "ax0.ax1.fused.ax2.fused"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "672"
}
},
{
"type_key": "tir.For",
"attrs": {
"annotations": "386",
"body": "55",
"extent": "54",
"kind": "0",
"loop_var": "50",
"min": "53",
"span": "0",
"thread_binding": "0"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "int32",
"name": "51",
"span": "0",
"type_annotation": "52"
}
},
{
"type_key": "runtime.String",
"repr_str": "ax3.inner"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "14"
}
},
{
"type_key": "tir.BufferRealize",
"attrs": {
"body": "86",
"bounds": "66",
"buffer": "56",
"condition": "85",
"span": "0"
}
},
{
"type_key": "tir.Buffer",
"attrs": {
"axis_separators": "64",
"buffer_type": "1",
"data": "57",
"data_alignment": "64",
"dtype": "int32",
"elem_offset": "65",
"name": "58",
"offset_factor": "1",
"shape": "62",
"span": "0",
"strides": "63"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "handle",
"name": "58",
"span": "0",
"type_annotation": "59"
}
},
{
"type_key": "runtime.String",
"repr_str": "conv2d_NCHWc_int8"
},
{
"type_key": "PointerType",
"attrs": {
"element_type": "60",
"storage_scope": "61"
}
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "runtime.String"
},
{
"type_key": "Array",
"data": [23, 24, 25, 26, 27]
},
{
"type_key": "Array"
},
{
"type_key": "Array"
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "Array",
"data": [67, 70, 76, 80, 82]
},
{
"type_key": "Range",
"attrs": {
"extent": "69",
"min": "68",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "Range",
"attrs": {
"extent": "75",
"min": "71",
"span": "0"
}
},
{
"type_key": "tir.FloorDiv",
"attrs": {
"a": "72",
"b": "74",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "tir.FloorMod",
"attrs": {
"a": "44",
"b": "73",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "672"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "14"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "Range",
"attrs": {
"extent": "79",
"min": "77",
"span": "0"
}
},
{
"type_key": "tir.FloorMod",
"attrs": {
"a": "44",
"b": "78",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "14"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "Range",
"attrs": {
"extent": "81",
"min": "50",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "Range",
"attrs": {
"extent": "84",
"min": "83",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "16"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "bool",
"span": "0",
"value": "1"
}
},
{
"type_key": "tir.SeqStmt",
"attrs": {
"seq": "87",
"span": "0"
}
},
{
"type_key": "Array",
"data": [88, 352]
},
{
"type_key": "tir.BufferRealize",
"attrs": {
"body": "119",
"bounds": "99",
"buffer": "89",
"condition": "118",
"span": "0"
}
},
{
"type_key": "tir.Buffer",
"attrs": {
"axis_separators": "97",
"buffer_type": "1",
"data": "90",
"data_alignment": "64",
"dtype": "int32",
"elem_offset": "98",
"name": "91",
"offset_factor": "1",
"shape": "95",
"span": "0",
"strides": "96"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "handle",
"name": "91",
"span": "0",
"type_annotation": "92"
}
},
{
"type_key": "runtime.String",
"repr_str": "conv2d_NCHWc_int8.global"
},
{
"type_key": "PointerType",
"attrs": {
"element_type": "93",
"storage_scope": "94"
}
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "runtime.String",
"repr_str": "global"
},
{
"type_key": "Array",
"data": [23, 24, 25, 26, 27]
},
{
"type_key": "Array"
},
{
"type_key": "Array"
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "Array",
"data": [100, 103, 109, 113, 115]
},
{
"type_key": "Range",
"attrs": {
"extent": "102",
"min": "101",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "Range",
"attrs": {
"extent": "108",
"min": "104",
"span": "0"
}
},
{
"type_key": "tir.FloorDiv",
"attrs": {
"a": "105",
"b": "107",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "tir.FloorMod",
"attrs": {
"a": "44",
"b": "106",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "672"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "14"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "Range",
"attrs": {
"extent": "112",
"min": "110",
"span": "0"
}
},
{
"type_key": "tir.FloorMod",
"attrs": {
"a": "44",
"b": "111",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "14"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "Range",
"attrs": {
"extent": "114",
"min": "50",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "Range",
"attrs": {
"extent": "117",
"min": "116",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "16"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "bool",
"span": "0",
"value": "1"
}
},
{
"type_key": "tir.SeqStmt",
"attrs": {
"seq": "120",
"span": "0"
}
},
{
"type_key": "Array",
"data": [121, 342]
},
{
"type_key": "tir.SeqStmt",
"attrs": {
"seq": "122",
"span": "0"
}
},
{
"type_key": "Array",
"data": [123, 170]
},
{
"type_key": "tir.For",
"attrs": {
"annotations": "169",
"body": "129",
"extent": "128",
"kind": "3",
"loop_var": "124",
"min": "127",
"span": "0",
"thread_binding": "0"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "int32",
"name": "125",
"span": "0",
"type_annotation": "126"
}
},
{
"type_key": "runtime.String",
"repr_str": "oc_block.c.outer.init"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "2"
}
},
{
"type_key": "tir.AttrStmt",
"attrs": {
"attr_key": "145",
"body": "162",
"node": "130",
"span": "0",
"value": "146"
}
},
{
"type_key": "Array",
"data": [131, 89]
},
{
"type_key": "tir.Buffer",
"attrs": {
"axis_separators": "140",
"buffer_type": "1",
"data": "132",
"data_alignment": "64",
"dtype": "int32",
"elem_offset": "141",
"name": "144",
"offset_factor": "1",
"shape": "137",
"span": "0",
"strides": "139"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "handle",
"name": "133",
"span": "0",
"type_annotation": "134"
}
},
{
"type_key": "runtime.String",
"repr_str": "C"
},
{
"type_key": "PointerType",
"attrs": {
"element_type": "135",
"storage_scope": "136"
}
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "runtime.String"
},
{
"type_key": "Array",
"data": [138]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "8"
}
},
{
"type_key": "Array"
},
{
"type_key": "Array"
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "int32",
"name": "142",
"span": "0",
"type_annotation": "143"
}
},
{
"type_key": "runtime.String",
"repr_str": "C_elem_offset"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "runtime.String",
"repr_str": "C"
},
{
"type_key": "runtime.String",
"repr_str": "buffer_bind_scope"
},
{
"type_key": "tir.Call",
"attrs": {
"args": "148",
"dtype": "handle",
"op": "147",
"span": "0"
}
},
{
"type_key": "Op",
"repr_str": "tir.tvm_tuple"
},
{
"type_key": "Array",
"data": [101, 149, 150, 154, 155, 157, 50, 158, 159, 161]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "tir.FloorDiv",
"attrs": {
"a": "151",
"b": "153",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "tir.FloorMod",
"attrs": {
"a": "44",
"b": "152",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "672"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "14"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "tir.FloorMod",
"attrs": {
"a": "44",
"b": "156",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "14"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "tir.Mul",
"attrs": {
"a": "124",
"b": "160",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "8"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "8"
}
},
{
"type_key": "tir.BufferStore",
"attrs": {
"buffer": "131",
"indices": "165",
"span": "0",
"value": "163"
}
},
{
"type_key": "tir.Broadcast",
"attrs": {
"dtype": "int32x8",
"lanes": "8",
"span": "0",
"value": "164"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "Array",
"data": [166]
},
{
"type_key": "tir.Ramp",
"attrs": {
"base": "167",
"dtype": "int32x8",
"lanes": "8",
"span": "0",
"stride": "168"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "Map"
},
{
"type_key": "tir.For",
"attrs": {
"annotations": "341",
"body": "176",
"extent": "175",
"kind": "0",
"loop_var": "171",
"min": "174",
"span": "0",
"thread_binding": "0"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "int32",
"name": "172",
"span": "0",
"type_annotation": "173"
}
},
{
"type_key": "runtime.String",
"repr_str": "kh"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "16"
}
},
{
"type_key": "tir.For",
"attrs": {
"annotations": "340",
"body": "182",
"extent": "181",
"kind": "0",
"loop_var": "177",
"min": "180",
"span": "0",
"thread_binding": "0"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "int32",
"name": "178",
"span": "0",
"type_annotation": "179"
}
},
{
"type_key": "runtime.String",
"repr_str": "kw"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "16"
}
},
{
"type_key": "tir.For",
"attrs": {
"annotations": "339",
"body": "187",
"extent": "128",
"kind": "3",
"loop_var": "183",
"min": "186",
"span": "0",
"thread_binding": "0"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "int32",
"name": "184",
"span": "0",
"type_annotation": "185"
}
},
{
"type_key": "runtime.String",
"repr_str": "oc_block.c.outer"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "tir.AttrStmt",
"attrs": {
"attr_key": "219",
"body": "238",
"node": "188",
"span": "0",
"value": "220"
}
},
{
"type_key": "Array",
"data": [189, 204]
},
{
"type_key": "tir.Buffer",
"attrs": {
"axis_separators": "199",
"buffer_type": "1",
"data": "190",
"data_alignment": "64",
"dtype": "uint8",
"elem_offset": "200",
"name": "203",
"offset_factor": "1",
"shape": "195",
"span": "0",
"strides": "197"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "handle",
"name": "191",
"span": "0",
"type_annotation": "192"
}
},
{
"type_key": "runtime.String",
"repr_str": "a_buffer"
},
{
"type_key": "PointerType",
"attrs": {
"element_type": "193",
"storage_scope": "194"
}
},
{
"type_key": "PrimType",
"attrs": {"dtype": "uint8"}
},
{
"type_key": "runtime.String"
},
{
"type_key": "Array",
"data": [196]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "4"
}
},
{
"type_key": "Array",
"data": [198]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "Array"
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "int32",
"name": "201",
"span": "0",
"type_annotation": "202"
}
},
{
"type_key": "runtime.String",
"repr_str": "a_buffer_elem_offset"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "runtime.String",
"repr_str": "a_buffer"
},
{
"type_key": "tir.Buffer",
"attrs": {
"axis_separators": "217",
"buffer_type": "1",
"data": "205",
"data_alignment": "64",
"dtype": "uint8",
"elem_offset": "218",
"name": "4",
"offset_factor": "1",
"shape": "210",
"span": "0",
"strides": "216"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "handle",
"name": "206",
"span": "0",
"type_annotation": "207"
}
},
{
"type_key": "runtime.String",
"repr_str": "p0"
},
{
"type_key": "PointerType",
"attrs": {
"element_type": "208",
"storage_scope": "209"
}
},
{
"type_key": "PrimType",
"attrs": {"dtype": "uint8"}
},
{
"type_key": "runtime.String"
},
{
"type_key": "Array",
"data": [211, 212, 213, 214, 215]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "224"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "224"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "4"
}
},
{
"type_key": "Array"
},
{
"type_key": "Array"
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "runtime.String",
"repr_str": "buffer_bind_scope"
},
{
"type_key": "tir.Call",
"attrs": {
"args": "221",
"dtype": "handle",
"op": "147",
"span": "0"
}
},
{
"type_key": "Array",
"data": [222, 223, 224, 225, 226, 231, 232, 235, 236, 237]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "tir.Add",
"attrs": {
"a": "227",
"b": "171",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "tir.Mul",
"attrs": {
"a": "228",
"b": "230",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "tir.FloorMod",
"attrs": {
"a": "44",
"b": "229",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "14"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "16"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "tir.Add",
"attrs": {
"a": "233",
"b": "177",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "tir.Mul",
"attrs": {
"a": "50",
"b": "234",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "16"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "4"
}
},
{
"type_key": "tir.AttrStmt",
"attrs": {
"attr_key": "276",
"body": "295",
"node": "239",
"span": "0",
"value": "277"
}
},
{
"type_key": "Array",
"data": [240, 259]
},
{
"type_key": "tir.Buffer",
"attrs": {
"axis_separators": "254",
"buffer_type": "1",
"data": "241",
"data_alignment": "64",
"dtype": "int8",
"elem_offset": "255",
"name": "258",
"offset_factor": "1",
"shape": "246",
"span": "0",
"strides": "249"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "handle",
"name": "242",
"span": "0",
"type_annotation": "243"
}
},
{
"type_key": "runtime.String",
"repr_str": "b_buffer"
},
{
"type_key": "PointerType",
"attrs": {
"element_type": "244",
"storage_scope": "245"
}
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int8"}
},
{
"type_key": "runtime.String"
},
{
"type_key": "Array",
"data": [247, 248]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "8"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "4"
}
},
{
"type_key": "Array",
"data": [250, 253]
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "int32",
"name": "251",
"span": "0",
"type_annotation": "252"
}
},
{
"type_key": "runtime.String",
"repr_str": "ldw"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "Array"
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "int32",
"name": "256",
"span": "0",
"type_annotation": "257"
}
},
{
"type_key": "runtime.String",
"repr_str": "b_buffer_elem_offset"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "runtime.String",
"repr_str": "b_buffer"
},
{
"type_key": "tir.Buffer",
"attrs": {
"axis_separators": "274",
"buffer_type": "1",
"data": "260",
"data_alignment": "64",
"dtype": "int8",
"elem_offset": "275",
"name": "7",
"offset_factor": "1",
"shape": "265",
"span": "0",
"strides": "273"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "handle",
"name": "261",
"span": "0",
"type_annotation": "262"
}
},
{
"type_key": "runtime.String",
"repr_str": "p1"
},
{
"type_key": "PointerType",
"attrs": {
"element_type": "263",
"storage_scope": "264"
}
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int8"}
},
{
"type_key": "runtime.String"
},
{
"type_key": "Array",
"data": [266, 267, 268, 269, 270, 271, 272]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "48"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "16"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "16"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "16"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "4"
}
},
{
"type_key": "Array"
},
{
"type_key": "Array"
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "runtime.String",
"repr_str": "buffer_bind_scope"
},
{
"type_key": "tir.Call",
"attrs": {
"args": "278",
"dtype": "handle",
"op": "147",
"span": "0"
}
},
{
"type_key": "Array",
"data": [
279,
283,
284,
285,
171,
286,
177,
287,
288,
289,
290,
292,
293,
294
]
},
{
"type_key": "tir.FloorDiv",
"attrs": {
"a": "280",
"b": "282",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "tir.FloorMod",
"attrs": {
"a": "44",
"b": "281",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "672"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "14"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "tir.Mul",
"attrs": {
"a": "183",
"b": "291",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "8"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "8"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "4"
}
},
{
"type_key": "tir.AttrStmt",
"attrs": {
"attr_key": "145",
"body": "300",
"node": "296",
"span": "0",
"value": "297"
}
},
{
"type_key": "Array",
"data": [131, 89]
},
{
"type_key": "tir.Call",
"attrs": {
"args": "298",
"dtype": "handle",
"op": "147",
"span": "0"
}
},
{
"type_key": "Array",
"data": [101, 149, 150, 154, 155, 157, 50, 158, 299, 161]
},
{
"type_key": "tir.Mul",
"attrs": {
"a": "183",
"b": "160",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "tir.BufferStore",
"attrs": {
"buffer": "131",
"indices": "335",
"span": "0",
"value": "301"
}
},
{
"type_key": "tir.Add",
"attrs": {
"a": "302",
"b": "330",
"dtype": "int32x8",
"span": "0"
}
},
{
"type_key": "tir.Call",
"attrs": {
"args": "304",
"dtype": "int32x8",
"op": "303",
"span": "0"
}
},
{
"type_key": "Op",
"repr_str": "tir.call_llvm_pure_intrin"
},
{
"type_key": "Array",
"data": [305, 306, 307, 328]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "uint32",
"span": "0",
"value": "9210"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "uint32",
"span": "0",
"value": "0"
}
},
{
"type_key": "tir.Call",
"attrs": {
"args": "308",
"dtype": "int16x16",
"op": "303",
"span": "0"
}
},
{
"type_key": "Array",
"data": [309, 310, 311, 322]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "uint32",
"span": "0",
"value": "9209"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "uint32",
"span": "0",
"value": "0"
}
},
{
"type_key": "tir.Call",
"attrs": {
"args": "313",
"dtype": "int8x32",
"op": "312",
"span": "0"
}
},
{
"type_key": "Op",
"repr_str": "tir.reinterpret"
},
{
"type_key": "Array",
"data": [314]
},
{
"type_key": "tir.Broadcast",
"attrs": {
"dtype": "int32x8",
"lanes": "8",
"span": "0",
"value": "315"
}
},
{
"type_key": "tir.Call",
"attrs": {
"args": "316",
"dtype": "int32",
"op": "312",
"span": "0"
}
},
{
"type_key": "Array",
"data": [317]
},
{
"type_key": "tir.BufferLoad",
"attrs": {
"buffer": "189",
"dtype": "uint8x4",
"indices": "318",
"span": "0"
}
},
{
"type_key": "Array",
"data": [319]
},
{
"type_key": "tir.Ramp",
"attrs": {
"base": "320",
"dtype": "int32x4",
"lanes": "4",
"span": "0",
"stride": "321"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "tir.BufferLoad",
"attrs": {
"buffer": "240",
"dtype": "int8x32",
"indices": "323",
"span": "0"
}
},
{
"type_key": "Array",
"data": [324, 325]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "tir.Ramp",
"attrs": {
"base": "326",
"dtype": "int32x32",
"lanes": "32",
"span": "0",
"stride": "327"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "tir.Broadcast",
"attrs": {
"dtype": "int16x16",
"lanes": "16",
"span": "0",
"value": "329"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int16",
"span": "0",
"value": "1"
}
},
{
"type_key": "tir.BufferLoad",
"attrs": {
"buffer": "131",
"dtype": "int32x8",
"indices": "331",
"span": "0"
}
},
{
"type_key": "Array",
"data": [332]
},
{
"type_key": "tir.Ramp",
"attrs": {
"base": "333",
"dtype": "int32x8",
"lanes": "8",
"span": "0",
"stride": "334"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "Array",
"data": [336]
},
{
"type_key": "tir.Ramp",
"attrs": {
"base": "337",
"dtype": "int32x8",
"lanes": "8",
"span": "0",
"stride": "338"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "Map"
},
{
"type_key": "Map"
},
{
"type_key": "Map"
},
{
"type_key": "tir.For",
"attrs": {
"annotations": "351",
"body": "346",
"extent": "84",
"kind": "2",
"loop_var": "343",
"min": "345",
"span": "0",
"thread_binding": "0"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "int32",
"name": "344",
"span": "0",
"type_annotation": "185"
}
},
{
"type_key": "runtime.String",
"repr_str": "oc_block"
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "tir.BufferStore",
"attrs": {
"buffer": "56",
"indices": "350",
"span": "0",
"value": "347"
}
},
{
"type_key": "tir.BufferLoad",
"attrs": {
"buffer": "89",
"dtype": "int32",
"indices": "348",
"span": "0"
}
},
{
"type_key": "Array",
"data": [349, 71, 77, 50, 343]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "Array",
"data": [349, 71, 77, 50, 343]
},
{
"type_key": "Map"
},
{
"type_key": "tir.For",
"attrs": {
"annotations": "385",
"body": "357",
"extent": "27",
"kind": "2",
"loop_var": "353",
"min": "356",
"span": "0",
"thread_binding": "0"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "int32",
"name": "354",
"span": "0",
"type_annotation": "355"
}
},
{
"type_key": "runtime.String",
"repr_str": "ax4"
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "tir.BufferStore",
"attrs": {
"buffer": "16",
"indices": "384",
"span": "0",
"value": "358"
}
},
{
"type_key": "tir.Sub",
"attrs": {
"a": "359",
"b": "365",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "tir.BufferLoad",
"attrs": {
"buffer": "56",
"dtype": "int32",
"indices": "360",
"span": "0"
}
},
{
"type_key": "Array",
"data": [361, 363, 364, 50, 353]
},
{
"type_key": "tir.FloorDiv",
"attrs": {
"a": "362",
"b": "24",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "tir.FloorDiv",
"attrs": {
"a": "44",
"b": "25",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "tir.FloorMod",
"attrs": {
"a": "362",
"b": "24",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "tir.FloorMod",
"attrs": {
"a": "44",
"b": "25",
"dtype": "int32",
"span": "0"
}
},
{
"type_key": "tir.BufferLoad",
"attrs": {
"buffer": "366",
"dtype": "int32",
"indices": "381",
"span": "0"
}
},
{
"type_key": "tir.Buffer",
"attrs": {
"axis_separators": "379",
"buffer_type": "1",
"data": "367",
"data_alignment": "64",
"dtype": "int32",
"elem_offset": "380",
"name": "10",
"offset_factor": "1",
"shape": "372",
"span": "0",
"strides": "378"
}
},
{
"type_key": "tir.Var",
"attrs": {
"dtype": "handle",
"name": "368",
"span": "0",
"type_annotation": "369"
}
},
{
"type_key": "runtime.String",
"repr_str": "p2"
},
{
"type_key": "PointerType",
"attrs": {
"element_type": "370",
"storage_scope": "371"
}
},
{
"type_key": "PrimType",
"attrs": {"dtype": "int32"}
},
{
"type_key": "runtime.String"
},
{
"type_key": "Array",
"data": [373, 374, 375, 376, 377]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "48"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "1"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "16"
}
},
{
"type_key": "Array"
},
{
"type_key": "Array"
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "Array",
"data": [361, 363, 382, 383, 353]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "int32",
"span": "0",
"value": "0"
}
},
{
"type_key": "Array",
"data": [361, 363, 364, 50, 353]
},
{
"type_key": "Map"
},
{
"type_key": "Map"
},
{
"type_key": "Map"
},
{
"type_key": "TupleType",
"attrs": {
"fields": "389",
"span": "0"
}
},
{
"type_key": "Array"
},
{
"type_key": "Map",
"data": [3, 204, 6, 259, 9, 366, 12, 16]
},
{
"type_key": "Map"
},
{
"type_key": "DictAttrs",
"attrs": {"__dict__": "393"}
},
{
"type_key": "Map",
"keys": [
"from_legacy_te_schedule",
"global_symbol",
"tir.noalias"
],
"data": [394, 395, 396]
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "bool",
"span": "0",
"value": "1"
}
},
{
"type_key": "runtime.String",
"repr_str": "vm_mod_fused_nn_contrib_conv2d_NCHWc_subtract"
},
{
"type_key": "IntImm",
"attrs": {
"dtype": "bool",
"span": "0",
"value": "1"
}
},
{
"type_key": "FuncType",
"attrs": {
"arg_types": "398",
"ret_type": "388",
"span": "0",
"type_constraints": "400",
"type_params": "399"
}
},
{
"type_key": "Array",
"data": [5, 8, 11, 14]
},
{
"type_key": "Array"
},
{
"type_key": "Array"
}
],
"b64ndarrays": [],
"attrs": {"tvm_version": "0.10.dev0"}
}
```
Traceback:
```
TVMError: Traceback (most recent call last):
18: TVMFuncCall
at /home/tristan/octoml/tvm/src/runtime/c_runtime_api.cc:477
17: tvm::runtime::PackedFuncObj::CallPacked(tvm::runtime::TVMArgs,
tvm::runtime::TVMRetValue*) const
at /home/tristan/octoml/tvm/include/tvm/runtime/packed_func.h:1217
16:
tvm::runtime::PackedFuncObj::Extractor<tvm::runtime::PackedFuncSubObj<tvm::runtime::TypedPackedFunc<tvm::runtime::String
(tvm::runtime::ObjectRef const&, tvm::runtime::String const&,
bool)>::AssignTypedLambda<tvm::runtime::String (*)(tvm::runtime::ObjectRef
const&, tvm::runtime::String const&, bool)>(tvm::runtime::String
(*)(tvm::runtime::ObjectRef const&, tvm::runtime::String const&, bool),
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>)::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}>
>::Call(tvm::runtime::PackedFuncObj const*, tvm::runtime::TVMArgs,
tvm::runtime::TVMRetValue*)
at /home/tristan/octoml/tvm/include/tvm/runtime/packed_func.h:1213
15: tvm::runtime::TypedPackedFunc<tvm::runtime::String
(tvm::runtime::ObjectRef const&, tvm::runtime::String const&,
bool)>::AssignTypedLambda<tvm::runtime::String (*)(tvm::runtime::ObjectRef
const&, tvm::runtime::String const&, bool)>(tvm::runtime::String
(*)(tvm::runtime::ObjectRef const&, tvm::runtime::String const&, bool),
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>)::{lambda(tvm::runtime::TVMArgs const&,
tvm::runtime::TVMRetValue*)#1}::operator()(tvm::runtime::TVMArgs const&,
tvm::runtime::TVMRetValue*) const
at /home/tristan/octoml/tvm/include/tvm/runtime/packed_func.h:1731
14: void tvm::runtime::detail::unpack_call<tvm::runtime::String, 3,
tvm::runtime::String (*)(tvm::runtime::ObjectRef const&, tvm::runtime::String
const&, bool)>(std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const*, tvm::runtime::String (*
const&)(tvm::runtime::ObjectRef const&, tvm::runtime::String const&, bool),
tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)
at /home/tristan/octoml/tvm/include/tvm/runtime/packed_func.h:1671
13: void
tvm::runtime::detail::unpack_call_dispatcher<tvm::runtime::String, 3, 0,
tvm::runtime::String (*)(tvm::runtime::ObjectRef const&, tvm::runtime::String
const&, bool)>::run<>(std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const*, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > (*)(), tvm::runtime::String (*
const&)(tvm::runtime::ObjectRef const&, tvm::runtime::String const&, bool),
tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)
at /home/tristan/octoml/tvm/include/tvm/runtime/packed_func.h:1631
12: void
tvm::runtime::detail::unpack_call_dispatcher<tvm::runtime::String, 2, 1,
tvm::runtime::String (*)(tvm::runtime::ObjectRef const&, tvm::runtime::String
const&,
bool)>::run<tvm::runtime::TVMMovableArgValueWithContext_>(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const*,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
(*)(), tvm::runtime::String (* const&)(tvm::runtime::ObjectRef const&,
tvm::runtime::String const&, bool), tvm::runtime::TVMArgs const&,
tvm::runtime::TVMRetValue*, tvm::runtime::TVMMovableArgValueWithContext_&&)
at /home/tristan/octoml/tvm/include/tvm/runtime/packed_func.h:1631
11: void
tvm::runtime::detail::unpack_call_dispatcher<tvm::runtime::String, 1, 2,
tvm::runtime::String (*)(tvm::runtime::ObjectRef const&, tvm::runtime::String
const&, bool)>::run<tvm::runtime::TVMMovableArgValueWithContext_,
tvm::runtime::TVMMovableArgValueWithContext_>(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const*,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
(*)(), tvm::runtime::String (* const&)(tvm::runtime::ObjectRef const&,
tvm::runtime::String const&, bool), tvm::runtime::TVMArgs const&,
tvm::runtime::TVMRetValue*, tvm::runtime::TVMMovableArgValueWithContext_&&,
tvm::runtime::TVMMovableArgValueWithContext_&&)
at /home/tristan/octoml/tvm/include/tvm/runtime/packed_func.h:1631
10: void
tvm::runtime::detail::unpack_call_dispatcher<tvm::runtime::String, 0, 3,
tvm::runtime::String (*)(tvm::runtime::ObjectRef const&, tvm::runtime::String
const&, bool)>::run<tvm::runtime::TVMMovableArgValueWithContext_,
tvm::runtime::TVMMovableArgValueWithContext_,
tvm::runtime::TVMMovableArgValueWithContext_>(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const*,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
(*)(), tvm::runtime::String (* const&)(tvm::runtime::ObjectRef const&,
tvm::runtime::String const&, bool), tvm::runtime::TVMArgs const&,
tvm::runtime::TVMRetValue*, tvm::runtime::TVMMovableArgValueWithContext_&&,
tvm::runtime::TVMMovableArgValueWithContext_&&,
tvm::runtime::TVMMovableArgValueWithContext_&&)
at /home/tristan/octoml/tvm/include/tvm/runtime/packed_func.h:1646
9: tvm::tir::AsTVMScript(tvm::runtime::ObjectRef const&,
tvm::runtime::String const&, bool)
at /home/tristan/octoml/tvm/src/printer/tvmscript_printer.cc:1989
8: tvm::tir::TVMScriptPrinter::Print(tvm::runtime::ObjectRef const&)
at /home/tristan/octoml/tvm/src/printer/tvmscript_printer.cc:729
7: tvm::tir::TVMScriptPrinter::PrintPrimFunc(tvm::tir::PrimFunc const&)
at /home/tristan/octoml/tvm/src/printer/tvmscript_printer.cc:1711
6: tvm::tir::TVMScriptPrinter::PrintBody(tvm::tir::Stmt const&)
at /home/tristan/octoml/tvm/src/printer/tvmscript_printer.cc:1569
5: tvm::tir::TVMScriptPrinter::Print(tvm::runtime::ObjectRef const&)
at /home/tristan/octoml/tvm/src/printer/tvmscript_printer.cc:722
4: tvm::tir::StmtFunctor<tvm::Doc (tvm::tir::Stmt
const&)>::VisitStmt(tvm::tir::Stmt const&)
at /home/tristan/octoml/tvm/include/tvm/tir/stmt_functor.h:82
3: tvm::NodeFunctor<tvm::Doc (tvm::runtime::ObjectRef const&,
tvm::tir::StmtFunctor<tvm::Doc (tvm::tir::Stmt
const&)>*)>::operator()(tvm::runtime::ObjectRef const&,
tvm::tir::StmtFunctor<tvm::Doc (tvm::tir::Stmt const&)>*) const
at /home/tristan/octoml/tvm/include/tvm/node/functor.h:97
2: tvm::tir::StmtFunctor<tvm::Doc (tvm::tir::Stmt
const&)>::InitVTable()::{lambda(tvm::runtime::ObjectRef const&,
tvm::tir::StmtFunctor<tvm::Doc (tvm::tir::Stmt
const&)>*)#17}::__invoke(tvm::runtime::ObjectRef const&,
tvm::tir::StmtFunctor<tvm::Doc (tvm::tir::Stmt const&)>*)
at /home/tristan/octoml/tvm/include/tvm/tir/stmt_functor.h:129
1: tvm::tir::StmtFunctor<tvm::Doc (tvm::tir::Stmt
const&)>::InitVTable()::{lambda(tvm::runtime::ObjectRef const&,
tvm::tir::StmtFunctor<tvm::Doc (tvm::tir::Stmt
const&)>*)#17}::operator()(tvm::runtime::ObjectRef const&,
tvm::tir::StmtFunctor<tvm::Doc (tvm::tir::Stmt const&)>*) const
at /home/tristan/octoml/tvm/include/tvm/tir/stmt_functor.h:129
0: tvm::tir::TVMScriptPrinter::VisitStmt_(tvm::tir::BufferRealizeNode
const*)
at /home/tristan/octoml/tvm/src/printer/tvmscript_printer.cc:1065
File "/home/tristan/octoml/tvm/src/printer/tvmscript_printer.cc", line 1065
TVMError: TVM Script Printer Internal Error: All the BufferRealize should be
folded with Attr
```
@yelite
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]