1. 25 11月, 2019 6 次提交
    • L
      cherry-pick error info check of Print_op for release1.6 (#21349) · 9a98d11e
      lijianshe02 提交于
      * add input type and input data type check for Print_op test=develop (#21250)
      
      * add input type and input data type check for Print_op test=develop
      
      * cherry-pick error info check of Print_op for release1.6 test=develop
      
      * cherry-pick error info check of Print_op for release1.6 test=develop
      9a98d11e
    • L
      Fix the CAPI ZeroCopy shape error and reuse the code to get output (#21240) (#21345) · c75b162a
      liu zhengxi 提交于
      * fix the CAPI ZeroCopy shape error and reconstruct the output obtain
      
      * use an anonymous namespace to cover the functor
      
      * fix unit tests because of the output of typeid(T).name() is different from linux and windows, test=develop
      c75b162a
    • Y
      fix bug of issue #21259 (#21331) · da9752fe
      Yi Liu 提交于
      * fix bug of issue #21259 (#21287)
      pass the argument `allow_out_of_range` of one_hot op to c++ back end.
      da9752fe
    • L
      cherry-pick (#21201) to release/1.6 (#21306) · a91b8014
      liuwei1031 提交于
      cudaStreamSynchronize randomly hang when used in multi-thread environment, replace it with cudaStreamQuery API on windows
      a91b8014
    • Z
      [cherry-pick] fix crop_tensor, maxout and lrn (#21302) · 3848f720
      Zhang Ting 提交于
      * [cherry-pick] All elements in attr(shape) of crop_tensor can be -1 and int32/64 kernel registered (#20756)
      
      * All elements in attr(shape) of crop_tensor can be -1, test=develop, test=document_preview
      
      * fix the bug that attr(offsets) should be initialized, test=develop
      
      * [cherry-pick] maxout supports channel_last input (#20846)
      
      * maxout support channel_last input, test=develop
      
      * modified details of Input(X) and Attr(groups, axis) in doc, test=develop
      
      * [cherry-pick] lrn supports channel_last input, test=develop (#20954)
      3848f720
    • C
      Add pre-condition check for fuse optimizer op pass (#21005) (#21305) · 9f004548
      Chen Weihang 提交于
      * add pre condition check for fuse optimizer op pass, test=develop
      
      * add log & set init to zero, test=develop
      
      * fix test_fuse_all_reduce_pass failed, test=develop
      
      * polish details, test=develop
      
      * refine PADDLE_ENFORCE & remove needless VLOG, test=develop
      
      * refactor op check method, test=develop
      9f004548
  2. 24 11月, 2019 2 次提交
  3. 23 11月, 2019 2 次提交
  4. 21 11月, 2019 2 次提交
    • C
      Cherry-pick error type support for release1.6 (#21294) · 974b8a83
      Chen Weihang 提交于
      * delete paddle infershape enforce marco (#20832)
      
      * Polish and arrange code in enforce.h (#20901)
      
      * Enrich the type of error and declare the error type interfaces (#21024)
      
      * Enrich the type of error and declare the error type interfaces, test=develop
      
      * adjust tests to adapt new form, test=develop
      
      * add inference deps with error_codes.pb.h, test=develop
      
      * restore stack iter start pos, test=develop
      
      * polish code based review comments, test=develop
      
      * Add dependency for error_codes.proto (#21084)
      
      * fix activation_functions deps, test=develop, test=document_fix
      
      * add error_codes_proto deps, test=develop, test=document_fix
      
      * try delete enforce.h, test=develop, test=document_fix
      
      * change cuda enforce & add example (#21142)
      test=release/1.6
      974b8a83
    • L
      [cherry-pick]fix bug in pool/conv/conv_transpose: UpdatePaddingAndDilation,... · 7ab85396
      liym27 提交于
      [cherry-pick]fix bug in pool/conv/conv_transpose: UpdatePaddingAndDilation, _get_padding_with_SAME and conv2dtranspose_forward_naive. (#20997) (#21225)
      
      * fix bug in pool/conv/conv_transpose:
          1. It should be stride[i] not stride[0] in UpdatePaddingAndDilation;
          2. fix bug of func  _get_padding_with_SAME in test_conv/conv_transpose_op.py;
          3. fix bug of the computation process in function conv2dtranspose_forward_naive.
          test=release/1.6
      7ab85396
  5. 14 11月, 2019 1 次提交
  6. 13 11月, 2019 1 次提交
  7. 11 11月, 2019 1 次提交
  8. 08 11月, 2019 1 次提交
  9. 07 11月, 2019 3 次提交
  10. 06 11月, 2019 1 次提交
  11. 04 11月, 2019 1 次提交
  12. 02 11月, 2019 1 次提交
  13. 01 11月, 2019 9 次提交
  14. 31 10月, 2019 5 次提交
  15. 30 10月, 2019 2 次提交
  16. 29 10月, 2019 2 次提交
    • C
      [Cherry-pick to 1.6] Block part of "tensor should not be null" error message (#20845) · d29e9aa4
      Chen Weihang 提交于
      * Add IndicateVarDataType interface to block tensor is not initialized problem in OP GetExceptedKernelType (#20044)
      
      * add indicate_var_data_type inferface, test=develop
      
      * add unittests & polish error message, test=develop
      
      * remove needless include, test=develop
      
      * extract public function & polish message, test=develop
      
      * delete empty var check, test=develop
      
      * change data_type to pointer parameter, test=develop
      
      * polish details, test=develop
      
      * Replace risky GetInputType method with secure IndicateVarDataType interface (#20668)
      
      * replace part of the old implementation, test=develop
      
      * restore concat op, test=develop
      
      * update all ops implemention & delete GetDataTypeOfVar func, test=develop
      
      test=release/1.6
      d29e9aa4
    • Z