• X
    [ Dy2Static ] transfer list into tensor array at runtime. (#45594) · 3be7f495
    xiongkun 提交于
    * 1. make list transformer into jit form.
    2. fix some bugs in tensor_array, such as append.
    3. enhance the function analysis visitor to recognize push/pop.
    4. add setter/getter helper to deal with 2+ name sets.
    
    * fix ci errors:
    1. add to_tensor_array logic in convert_cond
    2. fix IfExpr error.
    3. fix erros while return_names or push_pop_names is None
    4. fix slice error in a[i]=1 where a is tensor_array
    5. add pop interface in Variable
    3be7f495
run_program_op_node.h 31.1 KB