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. 27 11月, 2018 1 次提交
  3. 15 11月, 2018 1 次提交
    • S
      add mkldnn prop_kind phase for inference-only case to pooling and activations (#14278) · 8a1eeec5
      Sylwester Fraczek 提交于
      * add is_test to pooling and activations
      
      add prop_kind support for layers activation. conv and pooling
      
      add a pass that sets is_test to true
      
      add transpiler version of is_test pass
      
      test=develop
      
      * patch test and pass
      
      test=develop
      
      * add pass to analyzer.h
      
      test=develop
      
      * add is_test attr description & pass only on mkldnn
      
      in:
      activation_op.cc
      batch_norm_op.cc
      conv_op.cc
      dropout_op.cc
      lrn_op.cc
      pool_op.cc
      sequence_pool_op.cc
      softmax_op.cc
      
      * fix is_test handling for activation pool and conv
      
      * change description of is_test for all layers again
      
      * remove GetAttr(use_mkldnn) from pass
      
      * rename correct_mkldnn_test_phase to is_test
      
      and remove dependency on MKLDNN
      test=develop
      
      * review fix magic number
      
      * two if(..)s into one
      
      * Check is_test once and pass mkldnn forward prop kind
      
      * dereference shared_ptr with * (without get())
      
      test=develop
      
      * add is_test_pass back
      
      test=develop
      8a1eeec5
  4. 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
  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. 25 9月, 2018 1 次提交
  8. 25 8月, 2018 1 次提交
  9. 20 6月, 2018 1 次提交
  10. 18 6月, 2018 1 次提交
  11. 15 6月, 2018 6 次提交
  12. 14 6月, 2018 2 次提交
  13. 13 6月, 2018 1 次提交
  14. 11 6月, 2018 2 次提交
    • D
      add inplace attribute to op_proto_maker (#10665) · bfa3fd6f
      dzhwinter 提交于
      * "add inplace attribute"
      
      * "register inplace attribute"
      
      * "change se-next model for memory-reuse"
      
      * "fix typo"
      
      * repick
      
      * fix merge conflict
      
      * "fix stupid error"
      bfa3fd6f
    • Y
      Polish documentation · 2955ff58
      yuyang18 提交于
      * row_conv
      * uniform_random
      * layer_norm
      * create_parameter
      * hard_shrink
      * ssd_loss
      2955ff58
  15. 07 6月, 2018 2 次提交
    • X
      Refine API doc string · e80c6b3c
      Xin Pan 提交于
      e80c6b3c
    • M
      Mkldnn layout (#11040) · 3ff9ba0e
      mozga-intel 提交于
      * Add MKLDNN layout support in Paddle
      
      Add MKLDNN layout in Paddle so that MKLDNN friendly memory layout
      can be used in MKLDNN enabled OP kernel. Before this commit, NCHW
      is hardcode to be used in all MKLDNN op kernels. As a result,
      non-optimized execution path is selected in MKLDNN primitive which
      bring worse performance.
      Besides framework change, three MKLDNN OP kernels were updated
      for using new MKLDNN layout. They are conv/pool2d/batch_norm.
      Other MKLDNN OP kernels need be also updated in similar way to
      achieve best performance.
      
      * Add MKLDNN layout support in activation OP
      
      * Don't populate layout from input to output when kMKLDNN in
      
      * Refine pool mkldnn op kernel
      
      * MKLDNN layout
      
      * Remove the inferitance from tensor file
      
      * MKLDNN layout: refactoring
      
      * Remove additional #define to register new operator
      
      * Prepare mkldnn tests to work with layout
      3ff9ba0e
  16. 21 5月, 2018 2 次提交
  17. 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
  18. 21 4月, 2018 1 次提交
  19. 19 4月, 2018 1 次提交
  20. 18 4月, 2018 2 次提交
  21. 17 4月, 2018 2 次提交
  22. 16 4月, 2018 2 次提交
  23. 10 4月, 2018 1 次提交
  24. 29 3月, 2018 1 次提交
  25. 28 3月, 2018 1 次提交
  26. 23 3月, 2018 3 次提交