1. 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
  2. 13 4月, 2022 1 次提交
  3. 04 4月, 2022 1 次提交
    • H
      Add dropout yaml (#41355) · 1c7001e7
      hong 提交于
      * add dropout slice yaml
      
      * remove useless code
      
      * fix infer shape error
      
      * skip infrt compile for dropout
      1c7001e7
  4. 27 3月, 2022 1 次提交
    • H
      Move slice to phi (#40736) · b8236b7b
      hong 提交于
      * move slice to pten
      
      * merge develop; test=develop
      
      * fix slice bug;
      
      * update
      
      * update
      
      * fix error
      
      * update
      
      * fix bug
      
      * polish code
      
      * polish code
      
      * polish code
      
      * try to fix windows bug
      
      * add gpu compile flag;
      
      * try to fix
      
      * remov template;
      
      * polish code;
      
      * fix npu bug;
      
      * fix npu bug
      
      * fix npu bug; test=develop
      
      * fix slice bug;
      
      * remove no need dep
      b8236b7b
  5. 10 2月, 2022 1 次提交
  6. 14 9月, 2021 1 次提交
  7. 01 9月, 2021 1 次提交
  8. 27 8月, 2021 1 次提交
  9. 10 6月, 2021 1 次提交
  10. 06 1月, 2021 1 次提交
  11. 10 8月, 2020 1 次提交
  12. 20 5月, 2020 1 次提交
  13. 15 5月, 2020 1 次提交
    • L
      Support int32 int64 and fix bug (#24407) · 615a8bfc
      liym27 提交于
      * Compatible int32 and int64 for attr in op slice/strided_slice. test=develop
      
      * Polish code in nn.py  test=develop
      
      * Fix bug: set the same dtype for the inputs of elementwise_add. test=develop
      
      * Convert int32 to int64 in slice op to avoid data overflow. test=develop
      
      * Convert int32 to int64 in strided_slice_op to avoid data overflow. test=develop
      615a8bfc
  14. 30 4月, 2020 1 次提交
    • L
      [Dy2Stat]Support LoDTensorArray for slice op (#23091) · 80355949
      liym27 提交于
      * Support LoDTensorArray for slice op.
      * Support read elements of list in dygraph_to_static
      * Fix infershape add test for infershape.
      * Support Tensor for Attr(starts) and Attr(ends). 
      * Use new interfaces in VarTypeInference. 
      80355949
  15. 06 1月, 2020 1 次提交
    • Z
      all cases use large shape (#22091) · 8b3ef2a5
      zhupengyang 提交于
      enhanced ops: unsqueeze, squeeze2, strided_slice, unsqueeze,
      unsqueeze2, var_conv_2d, spectral_norm, slice, match_matrix_tensor,
      nce, pad, pad_constant_like, filter_by_instag
      8b3ef2a5
  16. 20 12月, 2019 1 次提交
  17. 02 12月, 2019 1 次提交
  18. 17 9月, 2019 1 次提交
    • L
      add tensor(tensor and tensor in list) support for argument starts and ends in slice op; (#19208) · 88628016
      liym27 提交于
      add support parameter inference when arguments starts or ends is a list containing integer and tensor variable;
      test=develop,test=document_preview
      
      improve slice op according to review(from hongyu). test=develop
      
      fix slice op according to review: infer_flags, test=develop
      
      fix slice op: improve overload operator __getitem__ to support attrs(starts and ends) are Variable.
      test=develop,test=document_preview
      
      fix test_slice_op: add TestSliceOp_decs_dim_6 to resolve conflict with test_slice_ngraph_op. test=develop
      
      add stop_gradient=True when attr(starts) or attr(ends) is tensor Variable.
      test=develop,test=document_preview
      88628016
  19. 20 6月, 2019 1 次提交
  20. 19 3月, 2019 2 次提交
  21. 15 3月, 2019 1 次提交
  22. 17 9月, 2018 1 次提交
  23. 15 8月, 2018 1 次提交
  24. 26 7月, 2018 2 次提交
  25. 11 6月, 2018 1 次提交
    • W
      Add slice op. (#11052) · adc09087
      whs 提交于
      * Add slice op.
      
      * Remove using from header file and fix doc.
      
      * Fix doc
      
      * Small fix.
      adc09087