openvino icon indicating copy to clipboard operation
openvino copied to clipboard

[FrontEnd] add control flow, basic tensor array support for paddle faster_rcnn model

Open luo-cheng2021 opened this issue 2 years ago • 5 comments

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
  • 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

luo-cheng2021 avatar Feb 28 '22 08:02 luo-cheng2021

@ceciliapeng2011 @liubo-intel @meiyang-intel @ilyachur could you please help to have a look, thanks

luo-cheng2021 avatar Mar 01 '22 05:03 luo-cheng2021

Okay for me. Thx!

luweizhou2016 avatar Apr 14 '22 01:04 luweizhou2016

@mbencer Could you please take a look at the comment from @luo-cheng2021 and see any further concern? Thanks!

yuxu42 avatar May 12 '22 05:05 yuxu42

@slyalin @itikhono could you please take a look again, thanks.

luo-cheng2021 avatar Jul 28 '22 02:07 luo-cheng2021

@slyalin do you have more comments about it? thanks.

ceciliapeng2011 avatar Sep 22 '22 07:09 ceciliapeng2011

@luo-cheng2021 could you please resolve conflicts?

jane-intel avatar Oct 12 '22 07:10 jane-intel

@luo-cheng2021 could you please resolve conflicts?

Done.

luo-cheng2021 avatar Oct 12 '22 09:10 luo-cheng2021