“325bfc374a0f45d49f66d34ec7e8f0b1a0b357c4”上不存在“...tensorrt/git@gitcode.net:BaiXuePrincess/Paddle.git”
  • Q
    [cherry-pick]Update backward appending stragety to support double backward. (#18216) · a839f724
    qingqing01 提交于
    * Update backward appending stragety to support double backward and fix some bug. (#18104)
    
    * Update backward.py:
         - If there is no input grad var in all outputs of previous ops, do not append this op into graph.
         - Only apply this stragety when double backward.
    * Update some double backward op.
    * Update sum_op to judge whether a tensor is empty by numel or IsInitialized().
    a839f724
framework.py 124.3 KB