6220ea1882dab2a0f8c8470293fd8b78df7b6f17
[platform/upstream/dldt.git] / model-optimizer / extensions / front / tf / mask_rcnn_support_api_v1.11.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         },
40         "id": "ObjectDetectionAPIProposalReplacement",
41         "include_inputs_to_sub_graph": true,
42         "include_outputs_to_sub_graph": true,
43         "instances": {
44             "end_points": [
45                 "map/TensorArrayStack/TensorArrayGatherV3",
46                 "map_1/TensorArrayStack/TensorArrayGatherV3",
47                 "BatchMultiClassNonMaxSuppression/map/TensorArrayStack_4/TensorArrayGatherV3"
48             ],
49             "start_points": [
50                 "concat",
51                 "concat_1",
52                 "GridAnchorGenerator/Identity",
53                 "Shape"
54             ]
55         },
56         "match_kind": "points"
57     },
58     {
59        "custom_attributes": {
60             "coordinates_swap_method": "swap_weights"
61         },
62         "id": "ObjectDetectionAPIDetectionOutputReplacement",
63         "include_inputs_to_sub_graph": true,
64         "include_outputs_to_sub_graph": true,
65         "instances": {
66             "end_points": [
67                 "BatchMultiClassNonMaxSuppression_1/map/TensorArrayStack_2/TensorArrayGatherV3",
68                 "BatchMultiClassNonMaxSuppression_1/map/TensorArrayStack/TensorArrayGatherV3"
69             ],
70             "start_points": [
71                 "SecondStageBoxPredictor/Reshape",
72                 "SecondStageBoxPredictor/Reshape_1",
73                 "ExpandDims_6",
74                 "ToFloat_6"
75             ]
76         },
77         "match_kind": "points"
78     },
79     {
80         "custom_attributes": {
81         },
82         "id": "ObjectDetectionAPIMaskRCNNROIPoolingSecondReplacement",
83         "include_inputs_to_sub_graph": true,
84         "include_outputs_to_sub_graph": true,
85         "instances": {
86             "end_points": [
87                 "Reshape_10"
88             ],
89             "start_points": [
90                 "CropAndResize_1/CropAndResize"
91             ]
92         },
93         "match_kind": "points"
94     },
95     {
96        "custom_attributes": {
97         },
98         "id": "ObjectDetectionAPIMaskRCNNSigmoidReplacement",
99         "match_kind": "general"
100     },
101     {
102        "custom_attributes": {
103             "outputs": "SecondStageBoxPredictor_1/Conv_3/BiasAdd|SecondStageBoxPredictor_1/Conv_1/BiasAdd"
104         },
105         "id": "ObjectDetectionAPIOutputReplacement",
106         "match_kind": "general"
107     }
108 ]