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. 14 10月, 2019 1 次提交
    • Z
      [cherry-pick] python input check for concat op (#20601) · db61de41
      zhupengyang 提交于
      * add input type and dtype check, enhance shape error message for concat_op (#20101)
      
      * add input type and dtype check, enhance shape error message for concat_op
      test=develop
      
      * enhance shape check
      test=develop
      
      * improve coverage
      
      test=develop
      
      * enhance input type chec for concat (#20584)
      
      test=develop
      db61de41
  4. 02 8月, 2019 1 次提交
  5. 13 6月, 2019 1 次提交
  6. 10 6月, 2019 1 次提交
  7. 27 5月, 2019 1 次提交
    • S
      add Concat quantization (#17448) · 96845d21
      Sylwester Fraczek 提交于
      * add Concat quantization
      add unit test for quantizing concat
      fix for wrong value when the input is not in map of calculated scales
      add use_quantizer to concat_op.cc
      add scale_algo rules for concat
      
      test=develop
      
      * missing fix for multiple inputs quantize-squash
      
      * wojtuss review fix: adding comment
      
      test=develop
      96845d21
  8. 23 5月, 2019 1 次提交
  9. 08 5月, 2019 1 次提交
    • H
      Fix concat shape check (#17247) · c3195de5
      Hongyu Liu 提交于
      * fix shape_check; test=develop
      
      * fix format; test=develop
      
      * fix format; test=develop
      
      * fix ddim bug; test=develop
      
      * fix c++ format; test=develop
      
      * change function name; test=develop
      c3195de5
  10. 15 4月, 2019 1 次提交
  11. 11 4月, 2019 1 次提交
  12. 26 3月, 2019 1 次提交
  13. 25 3月, 2019 1 次提交
  14. 21 3月, 2019 2 次提交
  15. 19 3月, 2019 1 次提交
  16. 18 3月, 2019 2 次提交
  17. 04 12月, 2018 3 次提交
  18. 26 11月, 2018 1 次提交
  19. 08 11月, 2018 1 次提交
  20. 21 9月, 2018 1 次提交
  21. 18 9月, 2018 1 次提交
  22. 17 9月, 2018 1 次提交
  23. 14 6月, 2018 1 次提交
  24. 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
  25. 19 4月, 2018 1 次提交
  26. 18 4月, 2018 1 次提交
  27. 12 4月, 2018 1 次提交
    • Q
      Dist transpiler support prefetch (#9714) · 4c55a602
      Qiao Longfei 提交于
      * init
      
      * add some check
      
      * add dist transpile logic
      
      * add insert op for block
      
      * init change get_pserver_program
      
      * optimize code
      
      * fix a bug
      
      * can run now
      
      * start to do table split
      
      * start to process table gradient
      
      * complete pserver part
      
      * can send_vars now
      
      * revert cpplint
      
      * fix a bug
      
      * optimize code
      
      * move dist test to models
      
      * revert the interface of distribute_transpiler.transpile
      
      * fix prefetch_block
      
      * optimize trainspiler code
      
      * add comment to sum_op
      
      * add warning log
      
      * fix comment
      
      * fix test_send_recv
      
      * fix test_send_recv
      
      * fix train with no distributed table
      
      * optimize GetDims
      4c55a602
  28. 11 4月, 2018 1 次提交
  29. 02 3月, 2018 1 次提交
  30. 12 2月, 2018 1 次提交
  31. 10 2月, 2018 2 次提交
  32. 22 12月, 2017 1 次提交
  33. 20 12月, 2017 1 次提交
  34. 08 12月, 2017 1 次提交
    • Q
      Nmt decoder train (#6367) · 36fcc95c
      Qiao Longfei 提交于
      * init decoder_trainer
      
      * can run
      
      * fix lod
      
      * add sharelod to cross_entropy_grad_op
      
      * add avg_cost to fetch list
      
      * modify learning rate
      
      * can run
      
      * optimie code
      
      * add early exit
      
      * fix print
      
      * revert test_understand_sentiment_conv.py
      
      * add act to fc
      36fcc95c
  35. 01 12月, 2017 1 次提交