openvino
openvino copied to clipboard
[FrontEnd] add control flow, basic tensor array support for paddle faster_rcnn model
Details:
-
Add following op:
-
control flow
- while
- conditional_block
- select_input(dependent by control flow)
-
tensor array
- lod_array_length
- tensor_array_to_tensor
- write_to_array
-
control flow
-
transformations to support control flow and tensor array inside paddle frontend
- TransformIf
- TransformTensorArray
- TransformWhile
- add dynamic output to Loop to support the snippet:
x = np.array([1,2])
s = [x,]
i = 0
while i < 10:
if i > 3:
s.append(x)
i += 1
- add the ability to turn off 'RemoveConcatZeroDimInput'
- adjust the paddle frontend to support subblock
Tickets:
- 69931
- 71854
- 69930
@ceciliapeng2011 @liubo-intel @meiyang-intel @ilyachur could you please help to have a look, thanks
Okay for me. Thx!
@mbencer Could you please take a look at the comment from @luo-cheng2021 and see any further concern? Thanks!
@slyalin @itikhono could you please take a look again, thanks.
@slyalin do you have more comments about it? thanks.
@luo-cheng2021 could you please resolve conflicts?
@luo-cheng2021 could you please resolve conflicts?
Done.