• Y
    Refactor linear chain crf op & crf decoding op (#19982) (#20171) · ea065e32
    Yibing Liu 提交于
    * 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
    ea065e32
nn.py 570.3 KB