1. 01 11月, 2019 1 次提交
    • L
      Cherry pick bug fix for Ops: reshape,concat, split and squeeze (#20929) · 33d7aae1
      liym27 提交于
      * [cherry-pick]fix bug in reshape: (#20781)
      
      consider the situation that shape of input can contain more than one -1.
      
      * [cherry-pick]support Tensor for split and concat, support -1 in num_or_sections, add check num_or_sections (#20780)
      
      * improve split and concat op:
      1. support Tensor for argument 'dim' in split op.
      2. support Tensor for argument 'axis' in concat op.
      * redefine function GetDataFromTensor and set unknown output shape to - 1.
      * add check: Attr(sections) match Input(X).
      * support Tensor for attr(sections) and attr(sections) can contain -1.
      * modify error message and fix bug for concat and call Resize only when necessary.
      test=release/1.6
      
      * [cherry-pick]improve unsqueeze op to support int, Tensor for argument axes (#20824)
      
      * improve unsqueeze op to support int, Tensor and Tensor list for argument axes.
      * call Resize only when necessary. test=release/1.6
      
      * [cherry-pick]Compatible int32 and int64 for attr in concat/split/unsqueeze. test=release/1.6 (#20912)
      33d7aae1
  2. 29 10月, 2019 1 次提交
    • 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
  3. 13 10月, 2019 1 次提交
  4. 10 10月, 2019 1 次提交
  5. 17 9月, 2019 1 次提交
    • L
      add tensor support for argument shape in reshape op; (#19268) · bd89a273
      liym27 提交于
      add support parameter inference when argument shape is a list containing integer and tensor variable;
      test=develop
      
      fix reshape op according to reviews:
      1. improve or message;
      2. improve test of test_api.
      test=develop,test=document_preview
      
      fix reshape op: Add error message in nn.py, test=develop
      
      add stop_gradient=True when attr(shape) is tensor Variable.
      change examples in API reshape.
      test=develop,test=document_preview
      bd89a273
  6. 29 8月, 2019 1 次提交
  7. 10 6月, 2019 1 次提交
    • H
      Reshape support tensor attribute (#17781) · 8062bd51
      Hongyu Liu 提交于
      * add reshape support tensor; test=develop
      
      * fix reshape bug; test=develop
      
      * change reshape attribute default value; test=develop
      
      * fix reshape input name; test=develop
      
      * fix reshape unitest; test=develop
      
      * check dim tensor shape; test=develop
      8062bd51
  8. 06 5月, 2019 1 次提交
  9. 27 3月, 2019 1 次提交
    • L
      Memory optimize (#16410) · 8d22bc17
      liuwei1031 提交于
      * fix cdn issue, test=develop
      
      * fix memory optimize bugs, test=develop
      
      * fix memory optimize bugs, test=develop
      
      * remove add/sub_2 op, test=develop
      
      * disable memory_optimize by default, test=develop
      
      * disable inplace activation in python, test=develop
      
      * fix unittests, test=develop
      
      * fix unittests, test=develop
      
      * bug-fix, test=develop
      8d22bc17
  10. 14 3月, 2019 1 次提交
  11. 06 3月, 2019 2 次提交
    • C
      Fix reshape bug (#16069) · 84e3adbe
      chengduo 提交于
      * In some case, the input may have one than one negative value.
      test=develop
      
      * fix matmul bug
      test=develop
      84e3adbe
    • C
      Fix reshape bug (#16069) · c67afb0f
      chengduo 提交于
      * In some case, the input may have one than one negative value.
      test=develop
      
      * fix matmul bug
      test=develop
      c67afb0f
  12. 30 1月, 2019 1 次提交
  13. 21 1月, 2019 1 次提交
  14. 16 1月, 2019 1 次提交
    • Y
      Optimize while_op for test (#14764) · 568cc2ff
      Yiqun Liu 提交于
      * Simplify the compare op for CPU.
      
      * Use asynchronous tensor copy in reshape_op's kernel.
      
      * Optimize while_op for test, avoiding creating variables every time.
      test=develop
      
      * Enable the cache of kernel type and kernel function.
      test=develop
      
      * Enable profiling with gperftools.
      
      * Remove flags for testing, and fix the linking error.
      test=develop
      
      * Delete the codes of ChooseKernel.
      test=develop
      
      * Fix bug when preparing ExecutorPrepareContext for while_op.
      
      * Fix missing depending on grpc libraries.
      
      * Remove the redundant print.
      test=develop
      
      * Follow comments.
      
      * Remove the codes related to prepare the ExecutorPrepareContext for while_op.
      test=develop
      568cc2ff
  15. 12 12月, 2018 1 次提交
  16. 15 10月, 2018 1 次提交
  17. 11 10月, 2018 1 次提交
  18. 06 9月, 2018 1 次提交
  19. 31 7月, 2018 1 次提交
    • D
      Memory/reshape op (#12414) · 91fb0156
      dzhwinter 提交于
      * "remove inplace in single op"
      
      * "fix ci"
      
      * "add transpiler case"
      
      * fix conflict
      
      * "fix reshape"
      
      * "delete reshape inplace attr"
      
      * "follo the comments"
      
      * "rerun ci"
      91fb0156
  20. 24 7月, 2018 1 次提交
  21. 02 7月, 2018 3 次提交
  22. 08 5月, 2018 1 次提交
    • Y
      Clean OpProtoAndCheckerMaker · 0e78cb69
      Yu Yang 提交于
      Do not use ctor
      
      * Reduce line of codes.
      * We can use virtual function for Maker now.
      * The implementation does not care what maker holds, it is easier to
      refactor later.
      0e78cb69
  23. 19 4月, 2018 1 次提交
  24. 17 4月, 2018 1 次提交
  25. 02 4月, 2018 1 次提交
  26. 29 3月, 2018 1 次提交
  27. 28 3月, 2018 1 次提交
  28. 21 3月, 2018 2 次提交
  29. 19 3月, 2018 1 次提交
  30. 13 3月, 2018 1 次提交
  31. 12 3月, 2018 1 次提交
  32. 08 3月, 2018 1 次提交
  33. 07 3月, 2018 1 次提交
  34. 28 2月, 2018 1 次提交
  35. 12 2月, 2018 1 次提交
  36. 10 2月, 2018 1 次提交