Publishing 2019 R1 content
[platform/upstream/dldt.git] / model-optimizer / extensions / front / tf / rfcn_support_api_v1.10.json
1 [
2     {
3         "custom_attributes": {},
4         "id": "ObjectDetectionAPIPreprocessorReplacement",
5         "inputs": [
6             [
7                 {
8                     "node": "map/Shape$",
9                     "port": 0
10                 },
11                 {
12                     "node": "map/TensorArrayUnstack/Shape$",
13                     "port": 0
14                 },
15                 {
16                     "node": "map/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3$",
17                     "port": 2
18                 }
19             ]
20         ],
21         "instances": [
22             ".*Preprocessor/"
23         ],
24         "match_kind": "scope",
25         "outputs": [
26             {
27                 "node": "sub$",
28                 "port": 0
29             },
30             {
31                 "node": "map/TensorArrayStack_1/TensorArrayGatherV3$",
32                 "port": 0
33             }
34         ]
35     },
36     {
37         "custom_attributes": {
38             "clip_before_nms": false,
39             "clip_after_nms": true
40         },
41         "id": "ObjectDetectionAPIProposalReplacement",
42         "include_inputs_to_sub_graph": true,
43         "include_outputs_to_sub_graph": true,
44         "instances": {
45             "end_points": [
46                 "map/TensorArrayStack/TensorArrayGatherV3",
47                 "map_1/TensorArrayStack/TensorArrayGatherV3",
48                 "BatchMultiClassNonMaxSuppression/map/TensorArrayStack_4/TensorArrayGatherV3"
49             ],
50             "start_points": [
51                 "FirstStageBoxPredictor/Reshape",
52                 "FirstStageBoxPredictor/Reshape_1",
53                 "GridAnchorGenerator/Identity",
54                 "Shape"
55             ]
56         },
57         "match_kind": "points"
58     },
59     {
60         "custom_attributes": {
61            "clip_before_nms": false,
62            "clip_after_nms": true,
63            "coordinates_swap_method": "add_convolution"
64         },
65         "id": "ObjectDetectionAPIDetectionOutputReplacement",
66         "inputs": [
67             [
68                 {
69                     "node": "Reshape$",
70                     "port": 0
71                 }
72             ],
73             [
74                 {
75                     "node": "Reshape_1$",
76                     "port": 0
77                 }
78             ],
79             [
80                 {
81                     "node": "ExpandDims$",
82                     "port": 0
83                 }
84             ]
85         ],
86         "instances": [
87             ".*SecondStagePostprocessor/"
88         ],
89         "match_kind": "scope",
90         "outputs": [
91             {
92                 "node": "BatchMultiClassNonMaxSuppression/map/TensorArrayStack/TensorArrayGatherV3$",
93                 "port": 0
94             }
95         ]
96     },
97     {
98         "custom_attributes": {},
99         "id": "ObjectDetectionAPIPSROIPoolingReplacement",
100         "inputs": [
101             [
102                 {
103                     "node": "Shape$",
104                     "port": 0
105                 },
106                 {
107                     "node": "TensorArrayUnstack/Shape$",
108                     "port": 0
109                 },
110                 {
111                     "node": "TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3$",
112                     "port": 2
113                 }
114             ],
115             [
116                 {
117                     "node": "TensorArrayUnstack_1/TensorArrayScatter/TensorArrayScatterV3$",
118                     "port": 2
119                 },
120                 {
121                     "node": "TensorArrayUnstack_1/Shape$",
122                     "port": 0
123                 }
124             ]
125         ],
126         "instances": [
127             "SecondStageBoxPredictor/map/",
128             "SecondStageBoxPredictor/map_1/"
129         ],
130         "match_kind": "scope",
131         "outputs": [
132             {
133                 "node": "TensorArrayStack/TensorArrayGatherV3$",
134                 "port": 0
135             }
136         ]
137     },
138     {
139        "custom_attributes": {
140              "outputs": "detection_boxes"
141         },
142         "id": "ObjectDetectionAPIOutputReplacement",
143         "match_kind": "general"
144     }
145 ]