1. 28 3月, 2023 1 次提交
  2. 25 3月, 2023 1 次提交
  3. 23 3月, 2023 1 次提交
  4. 25 2月, 2023 1 次提交
    • V
      change outputs and grads from fp16-fp16-comparision and fp16-fp32 (#50700) · 2dec64d0
      Vvsmile 提交于
      * change outputs and grads from fp16-fp16-comparision and fp16-fp32
      comparision
      
      * support grad comparision fp16-fp32
      
      * the change of reference dtype only occured from np.float16 to np.float32
      
      * fix the list type can not infer the dtype by attribute dtype by transfer
      the list to array
      
      * adjust the default atol and rtol of float16 to 1e-3
      
      * Polish code
      
      * fix error
      
      * fix
      
      * Polish code
      
      * fix the _is_cal_ref and np.float16
      
      * fix the combination of is_calc_ref and np.float16
      
      * remove unuseful codes in op_test.py
      
      * fix ci
      
      * fix the rtol set in the dygraph checker and eager checker
      
      ---------
      Co-authored-by: NZzSean <18818272991@163.com>
      2dec64d0
  5. 01 11月, 2022 1 次提交
    • N
      [CodeStyle][E711] use `is`/`is not` for comparison with `None` (#47452) · a35a4a53
      Nyakku Shigure 提交于
      * [CodeStyle][E711] use `is`/`is not` for comparison with `None`
      
      * `self.assertTrue($A is None)` -> `self.assertIsNone($A)`
      
      * `self.assertTrue($A is not None)` -> `self.assertIsNotNone($A)`
      
      * `self.assertFalse($A is None)` -> `self.assertIsNotNone($A)`
      
      * `self.assertEqual($A, None)` -> `self.assertIsNone($A)`
      
      * `self.assertNotEqual($A, None)` -> `self.assertIsNotNone($A)`
      a35a4a53
  6. 23 10月, 2022 1 次提交
  7. 27 9月, 2022 1 次提交
  8. 30 8月, 2022 1 次提交
    • Z
      Remove extra attribute in OpMaker (#44310) · fe321f9a
      zyfncg 提交于
      * add runtime config in phi
      
      * add runtime attr for op desc and op
      
      * fix no proto error
      
      * adjust opdesc set_attr impl
      
      * try to remove conv_op extra attrs
      
      * add init runtime attr map
      
      * change extra header path
      
      * fix runtime_attr
      
      * fix trace_op
      
      * fix bug of pass
      
      * fix merge conflict
      
      * fix dygraph attrs
      
      * fix bug of pass
      
      * fix dygraph bug
      
      * fix unittest module
      
      * delete extra attr default
      
      * fix dropout kernel
      
      * polish code
      
      * fix extra output of instance_norm
      
      * fix merge confilct
      
      * fix op_desc bug
      
      * add extra attr in yaml for conv3d_transpose
      
      * don't remove extra input and output
      
      * fix save_inference_model
      
      * fix bug of batch_norm
      
      * revert some change
      
      * polish log
      
      * polish code
      
      * add code comment
      Co-authored-by: NChen Weihang <chenweihang@baidu.com>
      fe321f9a
  9. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  10. 01 11月, 2019 1 次提交
    • L
      Update Tensor.set() to support float16 (#19964) · 9974e407
      Leo Chen 提交于
      * don't expose numerous Tensor.set(), test=develop
      
      * fix condition, test=develop
      
      * fix float16 bug, test=develop
      
      * feed should be Tensor or np.array, not Variable or number, test=develop
      
      * use forcecast to copy numpy slice to new array, test=develop
      
      * remove float16-uint16 hacking, test=develop
      9974e407
  11. 22 2月, 2019 1 次提交
  12. 30 1月, 2019 1 次提交
  13. 28 12月, 2018 1 次提交
    • Q
      Inception fusion operator. (#14968) · 6f0a1d7b
      qingqing01 提交于
      * Inception fusion operator.
      * Support horizontal layer fusion in conv_fusion_op.
      * Search conv algo strategy for variable-length input.
         search N times and cache the searched algos. For other input, choose the algo of input whose area is closest to this input.
      6f0a1d7b
  14. 01 12月, 2018 1 次提交
  15. 22 8月, 2018 1 次提交
  16. 15 8月, 2018 1 次提交
  17. 01 8月, 2018 1 次提交
  18. 26 7月, 2018 1 次提交
  19. 11 7月, 2018 1 次提交
  20. 15 6月, 2018 1 次提交
    • K
      Modify Pybind LoDTensor API according to length-based LoD (#11106) · 417fcf4f
      Kexin Zhao 提交于
      * add lod_tensor util and modify pybind
      
      * refind pybind LoDTensor API and modify LoDTensor and DataFeeder test
      
      * fix test error
      
      * fix detection map op test
      
      * fix reorder_lod_tensor test
      
      * fix seq_concat_op
      
      * fix chunk evel op test
      
      * fix target assign op
      
      * fix warp ctc op
      
      * address comments step 1: reverse reset_lod op
      
      * step 2: modify op test
      
      * add warning message
      
      * remove has_valid_lod
      
      * add back has_valid_lod
      
      * address comments
      
      * add exception catching trial
      417fcf4f
  21. 07 6月, 2018 1 次提交