1. 06 5月, 2021 7 次提交
    • F
      avoid polluting logging's root logger (#32673) (#32706) · 0bb079cd
      Feiyu Chan 提交于
      avoid polluting logging's root logger
      0bb079cd
    • W
      [cherry-pick pr31970] Support transforms for paddle tensor image (#32705) · a9d330a3
      Wenyu 提交于
      * add to_grayscale, normalize
      
      * add rotate
      
      * add vfip and hflip
      
      * add crop center_crop
      
      * add utils
      
      * add utils
      
      * update utils, add raise for some cases
      
      * add padding, support constant, reflect, replicate, circular same as paddle.pad
      
      * update rotate
      
      * using utils func in [v|h]flip
      
      * add get-image-[n,c,w,h] axis utils
      
      * add get-image-[n,c,w,h] axis utils
      
      * align
      
      * update
      
      * remove default value in utils func
      
      * add assert for pad
      
      * update assert paddle image
      
      * support rotate fill func
      
      * raise valueerror for pad
      
      * remove typing, py2 dont support
      
      * init uinttest for transforms tensor
      
      * add resize op
      
      * register [normalize hflip crop center_crop resize transpose] imagenet
      
      * register [normalize hflip crop center_crop resize transpose] imagenet
      
      * fix bugs, (w, h) getter and import
      
      * add _get_image_size for tensor image
      
      * add pad vflip for tensor image
      
      * add unittest for tensor transforms
      
      * update transforms unittest for converage CI probelms, test=develop
      
      * update
      
      * update
      
      * update
      
      * fix `get_shape` for tensor backend
      
      * update
      
      * update
      
      * add more resize tests
      
      * update
      
      * update for ci test
      
      * update
      
      * remove redundancy code
      
      * update uinttest, and set tensor image to hwc by default
      
      * add tensor backend
      
      * fix copyright doc, rm comment code, add pil unittest
      
      * update data_format to `chw` for tensor
      
      * coverage notest,test=coverage
      
      * update
      
      * update
      a9d330a3
    • W
      fix error imformation when trigger import error (#32702) · 43b3e99f
      Wenyu 提交于
      43b3e99f
    • L
      fix l1 decay for inplace (#32718) · c0f26683
      littletomatodonkey 提交于
      c0f26683
    • L
      update, test=develop (#32731) · df00636b
      lilong12 提交于
      df00636b
    • Z
      add API Tensor.item() to convert Tensor element to a Python scalar (#32634) · 035c7425
      Zhou Wei 提交于
      cherry-pick #32561
      035c7425
    • H
      [Dy2stat] Fix to_tensor Bug Reported from QA (#32701) (#32713) · cdfc34d2
      Huihuang Zheng 提交于
      Dy2stat failed when user writes return paddle.to_tensor(xxx), the reason is that visit_Expr doesn't work when the Expr is in return. Some other statements may trigger same bug. To fix it, we re-wrote a transformer to transform paddle.to_tensor to paddle.assign for all Call nodes.
      cdfc34d2
  2. 05 5月, 2021 3 次提交
  3. 04 5月, 2021 1 次提交
  4. 01 5月, 2021 2 次提交
  5. 30 4月, 2021 6 次提交
  6. 29 4月, 2021 12 次提交
  7. 28 4月, 2021 4 次提交
  8. 27 4月, 2021 5 次提交