xref: /aosp_15_r20/external/pytorch/test/onnx/expect/TestOperators.test_flatten.expect (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1ir_version: 8
2producer_name: "pytorch"
3producer_version: "CURRENT_VERSION"
4graph {
5  node {
6    input: "onnx::Shape_0"
7    output: "onnx::Slice_1"
8    name: "Shape_4"
9    op_type: "Shape"
10  }
11  node {
12    output: "onnx::Slice_2"
13    name: "Constant_5"
14    op_type: "Constant"
15    attribute {
16      name: "value"
17      t {
18        dims: 1
19        data_type: 7
20        raw_data: "\000\000\000\000\000\000\000\000"
21      }
22      type: TENSOR
23    }
24  }
25  node {
26    output: "onnx::Slice_3"
27    name: "Constant_6"
28    op_type: "Constant"
29    attribute {
30      name: "value"
31      t {
32        dims: 1
33        data_type: 7
34        raw_data: "\000\000\000\000\000\000\000\000"
35      }
36      type: TENSOR
37    }
38  }
39  node {
40    output: "onnx::Slice_4"
41    name: "Constant_7"
42    op_type: "Constant"
43    attribute {
44      name: "value"
45      t {
46        dims: 1
47        data_type: 7
48        raw_data: "\000\000\000\000\000\000\000\000"
49      }
50      type: TENSOR
51    }
52  }
53  node {
54    input: "onnx::Slice_1"
55    input: "onnx::Slice_3"
56    input: "onnx::Slice_4"
57    input: "onnx::Slice_2"
58    output: "onnx::Concat_5"
59    name: "Slice_8"
60    op_type: "Slice"
61  }
62  node {
63    output: "onnx::Concat_6"
64    name: "Constant_9"
65    op_type: "Constant"
66    attribute {
67      name: "value"
68      t {
69        dims: 1
70        data_type: 7
71        raw_data: "\377\377\377\377\377\377\377\377"
72      }
73      type: TENSOR
74    }
75  }
76  node {
77    input: "onnx::Concat_5"
78    input: "onnx::Concat_6"
79    output: "onnx::Reshape_7"
80    name: "Concat_10"
81    op_type: "Concat"
82    attribute {
83      name: "axis"
84      i: 0
85      type: INT
86    }
87  }
88  node {
89    input: "onnx::Shape_0"
90    input: "onnx::Reshape_7"
91    output: "8"
92    name: "Reshape_11"
93    op_type: "Reshape"
94    attribute {
95      name: "allowzero"
96      i: 0
97      type: INT
98    }
99  }
100  name: "main_graph"
101  input {
102    name: "onnx::Shape_0"
103    type {
104      tensor_type {
105        elem_type: 1
106        shape {
107          dim {
108            dim_value: 1
109          }
110          dim {
111            dim_value: 2
112          }
113          dim {
114            dim_value: 3
115          }
116          dim {
117            dim_value: 4
118          }
119        }
120      }
121    }
122  }
123  output {
124    name: "8"
125    type {
126      tensor_type {
127        elem_type: 1
128        shape {
129          dim {
130            dim_value: 24
131          }
132        }
133      }
134    }
135  }
136}
137opset_import {
138  version: 17
139}
140