summaryrefslogtreecommitdiff
path: root/model-optimizer/extensions/front/tf/mask_rcnn_support.json
blob: f85b36d177d0dacbace150544e84ee9dff20eb81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[
     {
        "custom_attributes": {
        },
        "id": "ObjectDetectionAPIPreprocessorReplacement",
        "inputs": [
            [
                {
                    "node": "map/Shape$",
                    "port": 0
                },
                {
                    "node": "map/TensorArrayUnstack/Shape$",
                    "port": 0
                },
                {
                    "node": "map/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3$",
                    "port": 2
                }
            ]
        ],
        "instances": [
            ".*Preprocessor/"
        ],
        "match_kind": "scope",
        "outputs": [
            {
                "node": "sub$",
                "port": 0
            },
            {
                "node": "map/TensorArrayStack_1/TensorArrayGatherV3$",
                "port": 0
            }
        ]
    },
    {
        "custom_attributes": {
        },
        "id": "ObjectDetectionAPIProposalAndROIPoolingReplacement",
        "include_inputs_to_sub_graph": true,
        "include_outputs_to_sub_graph": true,
        "instances": {
            "end_points": [
                "CropAndResize",
                "map_1/TensorArrayStack/TensorArrayGatherV3",
                "BatchMultiClassNonMaxSuppression/map/TensorArrayStack_4/TensorArrayGatherV3",
                "map_1/Shape"
            ],
            "start_points": [
                "FirstStageBoxPredictor/concat",
                "FirstStageBoxPredictor/concat_1",
                "GridAnchorGenerator/Identity",
                "Shape",
                "CropAndResize"
            ]
        },
        "match_kind": "points"
    },
    {
       "custom_attributes": {
            "code_type": "caffe.PriorBoxParameter.CENTER_SIZE",
            "pad_mode": "caffe.ResizeParameter.CONSTANT",
            "resize_mode": "caffe.ResizeParameter.WARP"
        },
        "id": "ObjectDetectionAPIDetectionOutputReplacement",
        "include_inputs_to_sub_graph": true,
        "include_outputs_to_sub_graph": true,
        "instances": {
            "end_points": [
                "BatchMultiClassNonMaxSuppression_1/map/TensorArrayStack_2/TensorArrayGatherV3",
                "BatchMultiClassNonMaxSuppression_1/map/TensorArrayStack/TensorArrayGatherV3"
            ],
            "start_points": [
                "SecondStageBoxPredictor/Reshape",
                "SecondStageBoxPredictor/Reshape_1",
                "ExpandDims_7",
                "ToFloat_6"
            ]
        },
        "match_kind": "points"
    },
    {
        "custom_attributes": {
        },
        "id": "ObjectDetectionAPIMaskRCNNROIPoolingSecondReplacement",
        "include_inputs_to_sub_graph": true,
        "include_outputs_to_sub_graph": true,
        "instances": {
            "end_points": [
                "CropAndResize_1"
            ],
            "start_points": [
                "CropAndResize_1"
            ]
        },
        "match_kind": "points"
    },
    {
       "custom_attributes": {
        },
        "id": "ObjectDetectionAPIMaskRCNNSigmoidReplacement",
        "match_kind": "general"
    },
    {
       "custom_attributes": {
            "outputs": "SecondStageBoxPredictor_1/Conv_3/BiasAdd|SecondStageBoxPredictor_1/Conv_1/BiasAdd"
        },
        "id": "ObjectDetectionAPIOutputReplacement",
        "match_kind": "general"
    }
]