File size: 4,301 Bytes
be94e5d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
%YAML:1.0

# Application running time in milliseconds: integer.
work_time: 2000

Pipelines:
    PL1:
      source:
        name: 'Src'
        latency: 33.0
        output:
          dims: [1, 3, 1280, 720]
          precision: 'U8'

      nodes:
        - name: 'PP'
          type: 'Dummy'
          time: 0.2
          output:
            dims: [1, 3, 300, 300]
            precision: 'U8'

        - name: 'Infer'
          type: 'Infer'
          xml: 'face-detection-retail-0004.xml'
          bin: 'face-detection-retail-0004.bin'
          device: 'CPU'
          input_layers:
            - 'data'
          output_layers:
            - 'detection_out'

      edges:
        - from: 'Src'
          to: 'PP'
        - from: 'PP'
          to: 'Infer'

      # Path to the dump file (*.dot)'
      dump: 'pl1.dot'

    PL2:
      source:
        name: 'Src'
        latency: 50.0
        output:
          dims: [1, 3, 1280, 720]
          precision: 'U8'

      nodes:
        - name: 'M1_PP'
          type: 'Dummy'
          time: 0.2
          output:
            dims: [1, 3, 300, 300]
            precision: 'U8'

        - name: 'M1_Infer'
          type: 'Infer'
          xml: 'face-detection-retail-0004.xml'
          bin: 'face-detection-retail-0004.bin'
          device: 'CPU'
          input_layers:
            - 'data'
          output_layers:
            - 'detection_out'

        - name: 'M2_PP'
          type: 'Dummy'
          time: 0.2
          output:
            dims: [1, 3, 300, 300]
            precision: 'U8'

        - name: 'M2_Infer'
          type: 'Infer'
          xml: 'face-detection-retail-0004.xml'
          bin: 'face-detection-retail-0004.bin'
          device: 'CPU'
          input_layers:
            - 'data'
          output_layers:
            - 'detection_out'

        - name: 'M3_PP'
          type: 'Dummy'
          time: 0.2
          output:
            dims: [1, 3, 300, 300]
            precision: 'U8'

        - name: 'M3_Infer'
          type: 'Infer'
          xml: 'face-detection-retail-0004.xml'
          bin: 'face-detection-retail-0004.bin'
          device: 'CPU'
          input_layers:
            - 'data'
          output_layers:
            - 'detection_out'

        - name: 'M4_PP'
          type: 'Dummy'
          time: 0.2
          output:
            dims: [1, 3, 300, 300]
            precision: 'U8'

        - name: 'M4_Infer'
          type: 'Infer'
          xml: 'face-detection-retail-0004.xml'
          bin: 'face-detection-retail-0004.bin'
          device: 'CPU'
          input_layers:
            - 'data'
          output_layers:
            - 'detection_out'

        - name: 'M5_PP'
          type: 'Dummy'
          time: 0.2
          output:
            dims: [1, 3, 300, 300]
            precision: 'U8'

        - name: 'M5_Infer'
          type: 'Infer'
          xml: 'face-detection-retail-0004.xml'
          bin: 'face-detection-retail-0004.bin'
          device: 'CPU'
          input_layers:
            - 'data'
          output_layers:
            - 'detection_out'

      edges:
        - from: 'Src'
          to: 'M1_PP'
        - from: 'M1_PP'
          to: 'M1_Infer'
        - from: 'M1_Infer'
          to: 'M2_PP'
        - from: 'M2_PP'
          to: 'M2_Infer'
        - from: 'M2_Infer'
          to: 'M3_PP'
        - from: 'M3_PP'
          to: 'M3_Infer'
        - from: 'M3_Infer'
          to: 'M4_PP'
        - from: 'M4_PP'
          to: 'M4_Infer'
        - from: 'M4_Infer'
          to: 'M5_PP'
        - from: 'M5_PP'
          to: 'M5_Infer'

      dump: 'pl2.dot'

    PL3:
      source:
        name: 'Src'
        latency: 33.0
        output:
          dims: [1, 3, 1280, 720]
          precision: 'U8'

      nodes:
        - name: 'PP'
          type: 'Dummy'
          time: 0.2
          output:
            dims: [1, 3, 300, 300]
            precision: 'U8'

        - name: 'Infer'
          type: 'Infer'
          xml: 'face-detection-retail-0004.xml'
          bin: 'face-detection-retail-0004.bin'
          device: 'CPU'
          input_layers:
            - 'data'
          output_layers:
            - 'detection_out'

      edges:
        - from: 'Src'
          to: 'PP'
        - from: 'PP'
          to: 'Infer'

      dump: 'pl3.dot'