• Y
    Refactor linear chain crf op & crf decoding op (#19982) · 01ad8d2e
    Yibing Liu 提交于
    * 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
    01ad8d2e
chunk_eval_op.cc 7.8 KB