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