1. 08 11月, 2017 1 次提交
    • Y
      Polish OpWithKernel · bbdac7f7
      Yu Yang 提交于
      * Chage `IndicateDataType` to `GetKernelType`. Make it easier to
        understand.
      * Change `OpKernelKey` to `OpKernelType`
      * Make operator developers can customize which kernel the operator will
        use in runtime.
      bbdac7f7
  2. 06 11月, 2017 1 次提交
  3. 04 11月, 2017 1 次提交
    • Q
      Add acc test to image classification (#5336) · 906e2565
      Qiao Longfei 提交于
      * add acc layer
      * memory log level change from 3 to 10
      * use gaussian random to init conv parameters
      * use initializer
      * fix import
      * batch_norm use helper to create persistable var
      * refine code
      * train only 2 batches for test
      * use g_program and g_init_program
      * use XavierInitializer to init fc parameter
      906e2565
  4. 30 10月, 2017 2 次提交
  5. 29 10月, 2017 1 次提交
  6. 27 10月, 2017 4 次提交
    • Y
      Make InferShape as a field in OpInfo (#5139) · b44f4ccb
      Yu Yang 提交于
      * Op developer can add `InferShape` to any operator
      b44f4ccb
    • Q
      add sparse support for sum op (#5093) · 7f8574c0
      QI JUN 提交于
      * add sparse support for sum op
      
      * typo fix
      
      * fix gpu build error
      
      * fix unittest error
      
      * typo fix
      
      * infer var type and shape in op_test
      
      * follow comments
      
      * fix build error
      
      * bypass some unittests depend on NetOp
      7f8574c0
    • Y
      Gradient check use graph (#5027) · be00b0c4
      Yu Yang 提交于
      * Simplize Gradient Check
      
      * Stash
      
      * Extract apply_backward_pass to backward.py
      
      Rename apply_backward_pass to append_backward_ops
      
      * Use graph API to check gradient
      
      * Fix ci
      
      * Fix CI
      
      * Fix backward for double precision
      
      * Stash
      
      * Fix CI
      
      * Fix ci
      
      * Ignore GRU test
      
      * Ignore xe op
      
      * Fix CI
      
      * Fix softmax with xe gradient
      
      The correct equation should be IG = OG * (d_softmax_with_xe())
      
      * Fix typo
      
      * Fix merge error
      
      * Disable LRN
      be00b0c4
    • D
      "fixed based on comment" · 6cce5268
      Dong Zhihong 提交于
      6cce5268
  7. 26 10月, 2017 1 次提交
  8. 25 10月, 2017 1 次提交
  9. 24 10月, 2017 2 次提交
  10. 23 10月, 2017 1 次提交
  11. 22 10月, 2017 1 次提交
  12. 21 10月, 2017 1 次提交
  13. 19 10月, 2017 1 次提交
  14. 15 10月, 2017 1 次提交
  15. 12 10月, 2017 1 次提交
    • Cudnn conv op (#4195) · a3ccbdb3
      武毅 提交于
      * add cudnn_conv_op
      
      * WIP
      
      * update
      
      * update
      
      * fix grad check
      
      * use platform::memory
      
      * add support group for cudnn
      
      * update
      
      * follow comments
      
      * fix onlycpu build
      
      * update cuda define
      
      * follow comments
      
      * follow comments
      
      * merge with updates
      
      * fix compile error
      
      * follow comments
      
      * follow comments
      a3ccbdb3
  16. 11 10月, 2017 1 次提交
  17. 07 10月, 2017 3 次提交
  18. 05 10月, 2017 1 次提交
  19. 04 10月, 2017 1 次提交
  20. 03 10月, 2017 3 次提交
  21. 01 10月, 2017 1 次提交
  22. 30 9月, 2017 1 次提交
  23. 29 9月, 2017 2 次提交
  24. 28 9月, 2017 3 次提交
  25. 27 9月, 2017 1 次提交
    • 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
  26. 21 9月, 2017 3 次提交