[pipeline]add pipeline policy and bert forward (#4130)

* add pipeline policy and bert forward to be done

* add bertmodel pipeline forward and make tests

* add Bert_Policy and test for policy

* update formatting

* update formatting

* update the code

* fix bugs

* fix name confilt
This commit is contained in:
Jianghai 2023-07-04 13:46:16 +08:00 committed by Hongxin Liu
parent 5c897ddb94
commit c552cefa93