• L
    add tensor(tensor and tensor in list) support for argument starts and ends in slice op; (#19208) · 88628016
    liym27 提交于
    add support parameter inference when arguments starts or ends is a list containing integer and tensor variable;
    test=develop,test=document_preview
    
    improve slice op according to review(from hongyu). test=develop
    
    fix slice op according to review: infer_flags, test=develop
    
    fix slice op: improve overload operator __getitem__ to support attrs(starts and ends) are Variable.
    test=develop,test=document_preview
    
    fix test_slice_op: add TestSliceOp_decs_dim_6 to resolve conflict with test_slice_ngraph_op. test=develop
    
    add stop_gradient=True when attr(starts) or attr(ends) is tensor Variable.
    test=develop,test=document_preview
    88628016
slice_op.h 11.7 KB