1. 05 12月, 2018 1 次提交
    • C
      Fix clip.py (#14718) · 04539d4c
      chengduo 提交于
      * expose square
      test=develop
      
      * fix activation
      test=develop
      
      * Add square API
      test=develop
      
      * add necessary op
      
      * code refine
      
      * fix API.spec
      test=develop
      
      * fix unit test
      test=develop
      
      * add unit test sparse_grad_clip
      test=develop
      
      * fix API.spec
      test=develop
      
      * remove mac test for test_gradient_clip
      test=develop
      
      * remove selectedrows_mul_tensor
      test=develop
      04539d4c
  2. 16 11月, 2018 3 次提交
  3. 09 11月, 2018 1 次提交
    • C
      Add InferVarType for some op (#14201) · 6c6e6385
      chengduo 提交于
      * add_infer_var_type
      test=develop
      
      * InferVarTypeHelper-> VarTypeInferenceHelper
      test=develop
      
      * PassInputTypeAndDTypeOnOutput
       test=develop
      
      * follow comment
      test=develop
      6c6e6385
  4. 08 11月, 2018 1 次提交
    • C
      Fix input<tensor> (#14208) · c5b6573a
      chengduo 提交于
      * fix input<tensor>
      test=develop
      
      * fix split_ids
      test=develop
      
      * ElementwiseMul should not support SelectedRows
      
      * fix scale op
      test=develop
      
      * change GetTensorFromVar() method to GetTensorOrSelectedRowsFromVar()
      
      * fix operator
      
      * refine MultiOutput
      
      * fix MultiOutput
      test=develop
      
      * disable test_dist_save_load
      test=develop
      
      * fix elementwise_op
      test=develop
      
      * add get_sparse_as_op
      test=develop
      
      * add info for check
      test=develop
      
      * rename get_sparse_as_op with extract_rows_as_op.
      test=develop
      
      * elementwise doesn't support selected_rows
      
      * fix regularizer
      
      * remove extract_rows_as
      test=develop
      
      * fix ci
      test=develop
      
      * add test for sum_op
      
      * fix regularizer
      test=develop
      
      *  test=develop
      
      * fix pserver weight decay multi inputs test=develop
      c5b6573a
  5. 22 10月, 2018 1 次提交
  6. 10 10月, 2018 1 次提交
    • C
      Set the right shape of selected_rows (#13723) · e1761709
      chengduo 提交于
      * set the right shape of selected_rows
      test=develop
      
      * enhance check
      
      * fix activation_op
      
      * remove cast
      
      * use ShareDimInfo replace SetDim and ShareLod
      
      * use ShareDimAndLod
      test=develop
      
      * follow comment
      
      test=develop
      
      * check whether the input has lod
      test=develop
      
      * Split ShareDimAndLod
      
      test=develop
      
      * checkout clip.py
      test=develop
      e1761709
  7. 30 9月, 2018 1 次提交
  8. 22 8月, 2018 1 次提交
  9. 01 8月, 2018 1 次提交
  10. 26 6月, 2018 1 次提交
    • T
      MKLDNN elementwis_add with default broadcast operations (#11544) · e26f51ce
      Tomasz Patejko 提交于
      * elementwise_add with bcast: Brian's implementation by Brian added, with default bcasts
      
      * elementwise_add with bcast: GetExpectedKernelType added to elementwise_op
      
      * elementwise_add with bcast: use_mkldnn attribute added
      
      * elementwise_add with bcast: changes after review and some formatting
      
      * elementwise_add with bcast: changes after style check
      
      * elementwise_add with bcast: changes after style check cont.
      
      * elementwise_add with bcast: MKLDNN unittests added
      
      * elementwise_add with bcast: original unittests with use_mkldnn flag
      
      * elementwise_add with bcast: handling of MKLDNN format corrected
      
      * elementwise_add with bcast: setting MKLDNN format turned into lambda
      
      * elementwise_add with bcast: MKDNN format setting turned into separate function
      
      * elementwise_add with bcast: condition for choosing MKLDNN simplified
      
      * elementwise_add with bcast: fix for MKLDNN format set incorrectly in bcasts
      
      * elementwise_add with bcast: changes in unittests for broadcasts
      
      * elementwise_add with bcast: fixes in unittests regarding dimensions
      
      * elementwise_add with bcast: bring back correct format setting in mklml grad path
      
      * elementwise_add with bcast: fixed compilation error
      e26f51ce
  11. 12 6月, 2018 1 次提交
  12. 11 6月, 2018 3 次提交
  13. 22 5月, 2018 1 次提交
  14. 21 5月, 2018 1 次提交
  15. 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
  16. 12 4月, 2018 1 次提交
  17. 08 3月, 2018 1 次提交
  18. 28 2月, 2018 1 次提交
  19. 12 2月, 2018 1 次提交
  20. 10 2月, 2018 2 次提交
  21. 16 1月, 2018 1 次提交
  22. 11 1月, 2018 1 次提交
  23. 04 1月, 2018 1 次提交
  24. 22 12月, 2017 1 次提交
  25. 20 12月, 2017 1 次提交
  26. 01 12月, 2017 1 次提交
  27. 04 11月, 2017 1 次提交
  28. 17 10月, 2017 1 次提交
  29. 07 10月, 2017 1 次提交
  30. 27 9月, 2017 3 次提交
    • Q
      729b2152
    • Q
      split elementwise_op.h into two header files · 0fa4b985
      qiaolongfei 提交于
      0fa4b985
    • Q
      Refactoring InferShape (#3946) · 9a9d50a6
      Qiao Longfei 提交于
      * init Infershape
      
      * add static InferShape interface
      
      * refactor add-op infershape
      
      * add AttrReader
      
      * add all maker's infershape
      
      * add all InferShape
      
      * add python infer api
      
      * add VarDesc interface
      
      * add python VarDesc and OpDesc interface
      
      * update python code
      
      * use infershape function to do shape inference
      
      * clean code
      
      * do not use pointer
      
      * refine code of op_proto_maker
      
      * add get_dims to VarDesc
      
      * refine the code
      
      * remove the dependency from operator to op registry
      
      * remove OpProtoAndCheckerMaker from operator
      
      * restore complete_add_op
      
      * add shape_infer_impl.h
      
      * code optimization
      
      * remove const return value
      
      * add fake BlockDesc class
      
      * optimize code
      
      * remove infer function in op_info
      
      * move InferShapeContextImpl to operator.h
      
      * optimize the interface of InferShapeContextBase
      
      * add temperary interface of new infershape
      
      * change add_op, clip_op, conv2d_op and activation_op
      
      * change all operators InferShape
      
      * fix SetDim
      
      * update cos_sim_op
      
      * update crop_op
      
      * update lookup_table_op
      
      * allocate tensor when call GetDim in InferShapeContext
      
      * update modified_huber_loss_op
      
      * update rowwise_add_op
      
      * update mean_op
      
      * update sequence_avg_pool_op
      
      * typo
      
      * remove old InferShape interface
      
      * can compile
      
      * fix or unit test
      
      * clean code
      
      * clean code
      
      * remove const before InferShapeContext
      
      * change InferenceContextBase to pointer
      
      * rename RunTime to Runtime, code clean
      9a9d50a6
  31. 22 9月, 2017 1 次提交