1ir_version: 8 2producer_name: "pytorch" 3producer_version: "CURRENT_VERSION" 4graph { 5 node { 6 input: "onnx::MaxPool_0" 7 output: "1" 8 output: "onnx::Sub_2" 9 name: "MaxPool_3" 10 op_type: "MaxPool" 11 attribute { 12 name: "ceil_mode" 13 i: 0 14 type: INT 15 } 16 attribute { 17 name: "dilations" 18 ints: 1 19 type: INTS 20 } 21 attribute { 22 name: "kernel_shape" 23 ints: 3 24 type: INTS 25 } 26 attribute { 27 name: "pads" 28 ints: 0 29 ints: 0 30 type: INTS 31 } 32 attribute { 33 name: "strides" 34 ints: 2 35 type: INTS 36 } 37 } 38 node { 39 input: "onnx::MaxPool_0" 40 output: "3" 41 output: "onnx::Slice_4" 42 name: "MaxPool_4" 43 op_type: "MaxPool" 44 attribute { 45 name: "dilations" 46 ints: 1 47 type: INTS 48 } 49 attribute { 50 name: "kernel_shape" 51 ints: 1 52 type: INTS 53 } 54 attribute { 55 name: "strides" 56 ints: 1 57 type: INTS 58 } 59 } 60 node { 61 output: "onnx::Slice_5" 62 name: "Constant_5" 63 op_type: "Constant" 64 attribute { 65 name: "value" 66 t { 67 dims: 1 68 data_type: 7 69 raw_data: "\001\000\000\000\000\000\000\000" 70 } 71 type: TENSOR 72 } 73 } 74 node { 75 output: "onnx::Slice_6" 76 name: "Constant_6" 77 op_type: "Constant" 78 attribute { 79 name: "value" 80 t { 81 dims: 1 82 data_type: 7 83 raw_data: "\000\000\000\000\000\000\000\000" 84 } 85 type: TENSOR 86 } 87 } 88 node { 89 output: "onnx::Slice_7" 90 name: "Constant_7" 91 op_type: "Constant" 92 attribute { 93 name: "value" 94 t { 95 dims: 1 96 data_type: 7 97 raw_data: "\002\000\000\000\000\000\000\000" 98 } 99 type: TENSOR 100 } 101 } 102 node { 103 input: "onnx::Slice_4" 104 input: "onnx::Slice_6" 105 input: "onnx::Slice_5" 106 input: "onnx::Slice_7" 107 output: "onnx::Sub_8" 108 name: "Slice_8" 109 op_type: "Slice" 110 } 111 node { 112 input: "onnx::Sub_2" 113 input: "onnx::Sub_8" 114 output: "9" 115 name: "Sub_9" 116 op_type: "Sub" 117 } 118 name: "main_graph" 119 input { 120 name: "onnx::MaxPool_0" 121 type { 122 tensor_type { 123 elem_type: 1 124 shape { 125 dim { 126 dim_value: 20 127 } 128 dim { 129 dim_value: 16 130 } 131 dim { 132 dim_value: 50 133 } 134 } 135 } 136 } 137 } 138 output { 139 name: "1" 140 type { 141 tensor_type { 142 elem_type: 1 143 shape { 144 dim { 145 dim_value: 20 146 } 147 dim { 148 dim_value: 16 149 } 150 dim { 151 dim_value: 24 152 } 153 } 154 } 155 } 156 } 157 output { 158 name: "9" 159 type { 160 tensor_type { 161 elem_type: 7 162 shape { 163 dim { 164 dim_value: 20 165 } 166 dim { 167 dim_value: 16 168 } 169 dim { 170 dim_value: 24 171 } 172 } 173 } 174 } 175 } 176} 177opset_import { 178 version: 17 179} 180