Publishing 2019 R1 content
[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             "clip_before_nms": false,
40             "clip_after_nms": true
41         },
42         "id": "ObjectDetectionAPIProposalReplacement",
43         "include_inputs_to_sub_graph": true,
44         "include_outputs_to_sub_graph": true,
45         "instances": {
46             "end_points": [
47                 "map/TensorArrayStack/TensorArrayGatherV3",
48                 "map_1/TensorArrayStack/TensorArrayGatherV3",
49                 "BatchMultiClassNonMaxSuppression/map/TensorArrayStack_4/TensorArrayGatherV3"
50             ],
51             "start_points": [
52                 "concat",
53                 "concat_1",
54                 "GridAnchorGenerator/Identity",
55                 "Shape"
56             ]
57         },
58         "match_kind": "points"
59     },
60     {
61        "custom_attributes": {
62             "clip_before_nms": false,
63             "clip_after_nms": true,
64             "coordinates_swap_method": "swap_weights"
65         },
66         "id": "ObjectDetectionAPIDetectionOutputReplacement",
67         "include_inputs_to_sub_graph": true,
68         "include_outputs_to_sub_graph": true,
69         "instances": {
70             "end_points": [
71                 "BatchMultiClassNonMaxSuppression_1/map/TensorArrayStack_2/TensorArrayGatherV3",
72                 "BatchMultiClassNonMaxSuppression_1/map/TensorArrayStack/TensorArrayGatherV3"
73             ],
74             "start_points": [
75                 "SecondStageBoxPredictor/Reshape",
76                 "SecondStageBoxPredictor/Reshape_1",
77                 "ExpandDims_6",
78                 "ToFloat_6"
79             ]
80         },
81         "match_kind": "points"
82     },
83     {
84         "custom_attributes": {
85         },
86         "id": "ObjectDetectionAPIMaskRCNNROIPoolingSecondReplacement",
87         "include_inputs_to_sub_graph": true,
88         "include_outputs_to_sub_graph": true,
89         "instances": {
90             "end_points": [
91                 "Reshape_10"
92             ],
93             "start_points": [
94                 "CropAndResize_1/CropAndResize"
95             ]
96         },
97         "match_kind": "points"
98     },
99     {
100        "custom_attributes": {
101         },
102         "id": "ObjectDetectionAPIMaskRCNNSigmoidReplacement",
103         "match_kind": "general"
104     },
105     {
106        "custom_attributes": {
107             "outputs": "SecondStageBoxPredictor_1/Conv_3/BiasAdd|SecondStageBoxPredictor_1/Conv_1/BiasAdd"
108         },
109         "id": "ObjectDetectionAPIOutputReplacement",
110         "match_kind": "general"
111     },
112     {
113         "custom_attributes":
114         {
115             "replacements": [["mul/y", "first_stage_max_proposals"]]
116         },
117         "id": "ObjectDetectionAPIConstValueOverride",
118         "match_kind": "general"
119     }
120 ]