1. 08 1月, 2018 1 次提交
    • Q
      cpu gpu transform function (#7191) · 0f353ab4
      Qiao Longfei 提交于
      * add rename guard
      
      * add device_data_transform
      
      * add device_data_transform_test
      
      * modify GetExpectedKernelType
      
      * update operator.run
      
      * support test test_label_semantic_roles
      
      * optimize code
      
      * optimize code
      
      * rename GetActualKernelType to GetExpectedKernelType
      
      * fix chunk_eval_op and device_data_transform_test
      
      * add is_same_place to place
      
      * optimize code, refine rename_guard
      
      * refine rename guard, add GetKernelTypeForVar
      
      * optimize code
      
      * add some log
      
      * rename guard
      
      * use sub scope to create var
      
      * fix compile
      
      * add IsInitialized for Tensor
      
      * add VarIsTensor
      
      * fix op_registry_test
      
      * test
      
      * tmp disable priority
      
      * restore switch_kernel.md
      
      * code clean
      0f353ab4
  2. 27 12月, 2017 1 次提交
  3. 25 12月, 2017 1 次提交
    • Q
      Impl kernel hint (#6883) · af0c4c45
      Qiao Longfei 提交于
      * init kernel hint
      
      * fix typo
      
      * rm unused code
      
      * add include in op_kernel.h
      
      * restore op_kernel since it will be moved to op_kernel_type
      
      * change force_cpu to use_cpu
      
      * fix compilation
      af0c4c45
  4. 20 12月, 2017 1 次提交
  5. 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
  6. 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
  7. 06 11月, 2017 1 次提交
  8. 04 11月, 2017 2 次提交
  9. 26 10月, 2017 1 次提交
  10. 17 10月, 2017 3 次提交
  11. 07 10月, 2017 1 次提交
  12. 28 9月, 2017 1 次提交
  13. 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
  14. 26 9月, 2017 1 次提交
  15. 23 9月, 2017 1 次提交
  16. 22 9月, 2017 1 次提交
  17. 21 9月, 2017 1 次提交
  18. 19 9月, 2017 1 次提交
  19. 16 9月, 2017 1 次提交
  20. 14 9月, 2017 2 次提交
  21. 13 9月, 2017 2 次提交
  22. 05 9月, 2017 1 次提交
  23. 03 9月, 2017 1 次提交
  24. 15 8月, 2017 1 次提交
  25. 12 8月, 2017 5 次提交
  26. 08 8月, 2017 4 次提交
    • D
      "fix clang format" · 22f03c39
      dongzhihong 提交于
      22f03c39
    • Q
      add gradient test framework (#3226) · e31a469e
      Qiao Longfei 提交于
      * init grad op checker
      
      * can run
      
      * add GradeChecker class
      
      * use get_numeric_gradient
      
      * refine code
      
      * add softmax and cross entropy auto grad test
      
      * use close to judge op_grad and numeric_grad
      
      * add cpu and gpu compare
      
      * add comments
      
      * add support_gpu
      
      * fix allclose
      
      * fix name error and symplify code
      
      * optimize gradient checker
      
      * add test_cross_entropy_op
      
      * update gradient_checker.py
      
      * optimize code
      
      * use random.uniform instead of random.random
      
      * fix type bug
      
      * optimize check_grad
      
      * put SupportGPU into OperatorBase
      
      * typo
      e31a469e
    • Y
      Try make pass · 7e830116
      Yu Yang 提交于
      7e830116
    • Y
      fix some enforce (#3301) · 2af35002
      Yan Chunwei 提交于
      * fix some enforce
      
      * remove compatible_type to avoid compile error
      
      * remove shared_ptr
      
      * fix tensor error msg
      2af35002
  27. 07 8月, 2017 1 次提交
  28. 06 8月, 2017 1 次提交