pytorch
1ir_version: 8
2producer_name: "pytorch"
3producer_version: "CURRENT_VERSION"
4graph {
5node {
6output: "onnx::Loop_33"
7name: "Constant_9"
8op_type: "Constant"
9attribute {
10name: "value"
11t {
12data_type: 9
13raw_data: "\001"
14}
15type: TENSOR
16}
17}
18node {
19output: "5"
20name: "Constant_10"
21op_type: "Constant"
22attribute {
23name: "value"
24t {
25dims: 1
26data_type: 7
27raw_data: "\000\000\000\000\000\000\000\000"
28}
29type: TENSOR
30}
31}
32node {
33input: "input"
34output: "onnx::Gather_6"
35name: "Shape_11"
36op_type: "Shape"
37}
38node {
39output: "onnx::Gather_7"
40name: "Constant_12"
41op_type: "Constant"
42attribute {
43name: "value"
44t {
45data_type: 7
46raw_data: "\000\000\000\000\000\000\000\000"
47}
48type: TENSOR
49}
50}
51node {
52input: "onnx::Gather_6"
53input: "onnx::Gather_7"
54output: "onnx::Unsqueeze_8"
55name: "Gather_13"
56op_type: "Gather"
57attribute {
58name: "axis"
59i: 0
60type: INT
61}
62}
63node {
64output: "onnx::Unsqueeze_9"
65name: "Constant_14"
66op_type: "Constant"
67attribute {
68name: "value"
69t {
70dims: 1
71data_type: 7
72raw_data: "\000\000\000\000\000\000\000\000"
73}
74type: TENSOR
75}
76}
77node {
78input: "onnx::Unsqueeze_8"
79input: "onnx::Unsqueeze_9"
80output: "onnx::Concat_10"
81name: "Unsqueeze_15"
82op_type: "Unsqueeze"
83}
84node {
85input: "offsets"
86input: "onnx::Concat_10"
87output: "onnx::Slice_11"
88name: "Concat_16"
89op_type: "Concat"
90attribute {
91name: "axis"
92i: 0
93type: INT
94}
95}
96node {
97output: "onnx::Slice_12"
98name: "Constant_17"
99op_type: "Constant"
100attribute {
101name: "value"
102t {
103dims: 1
104data_type: 7
105raw_data: "\000\000\000\000\000\000\000\000"
106}
107type: TENSOR
108}
109}
110node {
111output: "onnx::Slice_13"
112name: "Constant_18"
113op_type: "Constant"
114attribute {
115name: "value"
116t {
117dims: 1
118data_type: 7
119raw_data: "\001\000\000\000\000\000\000\000"
120}
121type: TENSOR
122}
123}
124node {
125output: "onnx::Slice_14"
126name: "Constant_19"
127op_type: "Constant"
128attribute {
129name: "value"
130t {
131dims: 1
132data_type: 7
133raw_data: "\377\377\377\377\377\377\377\177"
134}
135type: TENSOR
136}
137}
138node {
139output: "onnx::Slice_15"
140name: "Constant_20"
141op_type: "Constant"
142attribute {
143name: "value"
144t {
145dims: 1
146data_type: 7
147raw_data: "\001\000\000\000\000\000\000\000"
148}
149type: TENSOR
150}
151}
152node {
153input: "onnx::Slice_11"
154input: "onnx::Slice_13"
155input: "onnx::Slice_14"
156input: "onnx::Slice_12"
157input: "onnx::Slice_15"
158output: "onnx::Shape_16"
159name: "Slice_21"
160op_type: "Slice"
161}
162node {
163input: "onnx::Shape_16"
164output: "onnx::Gather_17"
165name: "Shape_22"
166op_type: "Shape"
167}
168node {
169output: "onnx::Gather_18"
170name: "Constant_23"
171op_type: "Constant"
172attribute {
173name: "value"
174t {
175data_type: 7
176raw_data: "\000\000\000\000\000\000\000\000"
177}
178type: TENSOR
179}
180}
181node {
182input: "onnx::Gather_17"
183input: "onnx::Gather_18"
184output: "onnx::Loop_19"
185name: "Gather_24"
186op_type: "Gather"
187attribute {
188name: "axis"
189i: 0
190type: INT
191}
192}
193node {
194input: "onnx::Loop_19"
195input: "onnx::Loop_33"
196output: "20"
197name: "Loop_25"
198op_type: "Loop"
199attribute {
200name: "body"
201g {
202node {
203input: "onnx::Slice_11"
204input: "21"
205output: "23"
206name: "Gather_26"
207op_type: "Gather"
208attribute {
209name: "axis"
210i: 0
211type: INT
212}
213}
214node {
215input: "onnx::Shape_16"
216input: "21"
217output: "24"
218name: "Gather_27"
219op_type: "Gather"
220attribute {
221name: "axis"
222i: 0
223type: INT
224}
225}
226node {
227output: "25"
228name: "Constant_28"
229op_type: "Constant"
230attribute {
231name: "value"
232t {
233dims: 1
234data_type: 7
235raw_data: "\000\000\000\000\000\000\000\000"
236}
237type: TENSOR
238}
239}
240node {
241input: "23"
242input: "25"
243output: "26"
244name: "Unsqueeze_29"
245op_type: "Unsqueeze"
246}
247node {
248output: "27"
249name: "Constant_30"
250op_type: "Constant"
251attribute {
252name: "value"
253t {
254dims: 1
255data_type: 7
256raw_data: "\000\000\000\000\000\000\000\000"
257}
258type: TENSOR
259}
260}
261node {
262input: "24"
263input: "27"
264output: "28"
265name: "Unsqueeze_31"
266op_type: "Unsqueeze"
267}
268node {
269input: "input"
270input: "26"
271input: "28"
272input: "5"
273output: "29"
274name: "Slice_32"
275op_type: "Slice"
276}
277node {
278input: "weight"
279input: "29"
280output: "30"
281name: "Gather_33"
282op_type: "Gather"
283attribute {
284name: "axis"
285i: 0
286type: INT
287}
288}
289node {
290input: "30"
291output: "31"
292name: "ReduceMean_34"
293op_type: "ReduceMean"
294attribute {
295name: "axes"
296ints: 0
297type: INTS
298}
299attribute {
300name: "keepdims"
301i: 0
302type: INT
303}
304}
305node {
306input: "onnx::Loop_33"
307output: "32"
308name: "Cast_35"
309op_type: "Cast"
310attribute {
311name: "to"
312i: 9
313type: INT
314}
315}
316name: "sub_graph"
317input {
318name: "21"
319type {
320tensor_type {
321elem_type: 7
322shape {
323}
324}
325}
326}
327input {
328name: "22"
329type {
330tensor_type {
331elem_type: 9
332shape {
333}
334}
335}
336}
337output {
338name: "32"
339type {
340tensor_type {
341elem_type: 9
342shape {
343}
344}
345}
346}
347output {
348name: "31"
349type {
350tensor_type {
351elem_type: 1
352shape {
353dim {
354dim_param: "Loop20_dim_1"
355}
356}
357}
358}
359}
360}
361type: GRAPH
362}
363}
364name: "main_graph"
365initializer {
366dims: 10
367dims: 8
368data_type: 1
369name: "weight"
370raw_data: "\264\314\344\275\017A\376\276\313\374&>J\266a\277s\306\\=\212\032+?\211[t\275\344[\357\276Dk\\\276OKb?\234\'B\277A\334\274\2767N\257\276\320s\263\277\371+\244>:\314\202\277K\200L??\001\275\275\236u4\2774\032\315\277\214\004\224>Z\320\372>\267B\305\276\346G6\277N\265.\276\343\316\272\277t\364a>\201)|>p\223\251\277Qm2?\346\275)\277\354\235\233?\027X\277\277\253\206a?\354\335\226\277L\032o\277\251J\021\277\311\360\215\276\312\274\013\300\252\320\273>\220\"p?\267\020\000<R\262\240\276\343\016\224\2779\241\353?8;\202\277\023\020\234?E\370#>\222\233\314?\334\360?\275|t\303\277\214\351\000\300\3065\302\2775\206\306>X\251\227\277x\2160?U^\251?d\221\350?\237F.?\rp9?9X\004=/c\324\277SL\360\277\'\274<?t\375l?\342\270l?\240\352:>\332\356\226\275\211\035\241>*\271\204\277>\025W>\036K\035?\036\233\200=\035\313\250\276\017\003\346\277\374p_?\313WD?!\006\351\275\232\\q\277\230\007A?"
371}
372input {
373name: "input"
374type {
375tensor_type {
376elem_type: 7
377shape {
378dim {
379dim_value: 4
380}
381}
382}
383}
384}
385input {
386name: "offsets"
387type {
388tensor_type {
389elem_type: 7
390shape {
391dim {
392dim_value: 1
393}
394}
395}
396}
397}
398input {
399name: "weight"
400type {
401tensor_type {
402elem_type: 1
403shape {
404dim {
405dim_value: 10
406}
407dim {
408dim_value: 8
409}
410}
411}
412}
413}
414output {
415name: "20"
416type {
417tensor_type {
418elem_type: 1
419shape {
420dim {
421dim_param: "Loop20_dim_0"
422}
423dim {
424dim_param: "Loop20_dim_1"
425}
426}
427}
428}
429}
430}
431opset_import {
432version: 17
433}
434