Refactor linear chain crf op & crf decoding op (#19982)
* Update crf_decoding api & example test=develop * Update api spec test=develop * Fix linear chain crf api test=develop * Avoid sharing data pointer with input test=develop * Simplify the logic in linear_chain_crf_decoding * Add unittest for crf_decoding when label & path both are set test=develop * Update API spec test=develop * Add unittest for layers && correct infer_shape in chunk_eval test=develop
Showing
paddle/fluid/operators/linear_chain_crf_op.h
100755 → 100644
想要评论请 注册 或 登录