[ Dy2Static ] transfer list into tensor array at runtime. (#45594)
* 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
Showing
想要评论请 注册 或 登录