• L
    fix pow op, support tensor for agument factor. (#19313) · 677e7144
    liym27 提交于
    improve pow op according to reviews:
    1. Delete unnecessary judgement statements in PowGradOpDescMaker;
    2. Improve test of test_api;
    
    overload GetKernelTypeForVar
    
    add stop_gradient=True when attr(factor) is tensor Variable, change examples in API pow.
    test=develop,test=document_preview
    677e7144
test_activation_op.py 24.8 KB