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