• L
    add tensor support for argument shape in reshape op; (#19268) · bd89a273
    liym27 提交于
    add support parameter inference when argument shape is a list containing integer and tensor variable;
    test=develop
    
    fix reshape op according to reviews:
    1. improve or message;
    2. improve test of test_api.
    test=develop,test=document_preview
    
    fix reshape op: Add error message in nn.py, test=develop
    
    add stop_gradient=True when attr(shape) is tensor Variable.
    change examples in API reshape.
    test=develop,test=document_preview
    bd89a273
reshape_op.cc 19.3 KB