• Y
    Add the check of lod_level between compile-time and runtime. (#20961) · 35f17ae2
    Yiqun Liu 提交于
    * Add the check of lod_level between compile-time and runtime.
    test=develop
    
    * Fix bug in check_compile_vs_runtime.
    test=develop
    
    * Fix the check of output when it is dispensiable or intermediate.
    test=develop
    
    * Share lod of x to out in match_matrix_tensor op in compile-time.
    
    * Implement GetLoDLevel in InferShapeContext.
    
    * Set the default value of check_compile_vs_runtime to False and enable it in test_sequence_pad_op.
    test=develop
    
    * Enable check_compile_vs_runtime in test_match_matrix_tensor.
    
    * Add the implementation of SetLoDLevel in InferShapeContext.
    
    * Remove the implementation of IncreaseLoDLevel and call Get/SetLoDLevel instead.
    
    * Remove the implementation of DecreaseLoDLevel and call Set/GetLoDLevel instead.
    
    * Refine some ops and unittests.
    test=develop
    
    * Fix a typo.
    test=develop
    
    * Remove the check of var type, and change int to int32_t.
    test=develop
    
    * Add unittest for Get/SetLoDLevel.
    test=develop
    35f17ae2
operator_test.cc 19.9 KB