1. 08 1月, 2018 1 次提交
  2. 24 12月, 2017 1 次提交
    • D
      Feature/operator run place (#6783) · 735eba29
      dzhwinter 提交于
      * "change operator interface"
      
      * "move devicepool to device_context"
      
      * "fix operator test"
      
      * "fix op_registry Run interface"
      
      * "net op passed. Need to fix nccl multi-Context"
      
      * "add nccl group function"
      
      * "add nccl group function"
      
      * "fix gpu count exceed 32 error"
      
      * "fix recurrent op, nccl op"
      
      * "change the other operators interface with Place"
      
      * "fix typo"
      
      * "fix pybind"
      
      * "fix device in python side"
      
      * "fix pybind failed"
      
      * "add init for test"
      
      * "fix CI"
      735eba29
  3. 11 12月, 2017 1 次提交
    • Y
      Fix gcc4.9 (#6442) · 95924686
      Yiqun Liu 提交于
      * Fix compiling error of gcc4.9.
      
      * Refine the check of cxx compiler flags in api/CMakeLists.txt.
      95924686
  4. 10 10月, 2017 1 次提交
  5. 28 9月, 2017 1 次提交
    • Y
      Remove OperatorBase::InferShape · 61962094
      Yu Yang 提交于
      InferShape in Operator should be performed in OperatorBase::Run.
      
      * cond_op, recurrent_op and mnist might be changed in following PR
      61962094
  6. 20 8月, 2017 2 次提交
  7. 17 8月, 2017 2 次提交
    • Y
      Remove R-Value reference in AddOp · 1365f2d1
      Yu Yang 提交于
      Fit Google C++ Style
      1365f2d1
    • Y
      Remove own for add_op · 225579b9
      Yu Yang 提交于
      * add_op could take a unique_ptr or a const reference. If unique_ptr is
        taken, the NetOp will take care of that operator's life cycle. If a
        const reference is taken, that op will be Cloned.
      225579b9
  8. 16 8月, 2017 4 次提交
  9. 12 8月, 2017 3 次提交
  10. 09 8月, 2017 1 次提交
  11. 08 8月, 2017 3 次提交
    • 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
  12. 07 8月, 2017 1 次提交
  13. 05 8月, 2017 1 次提交
  14. 03 8月, 2017 1 次提交
  15. 01 8月, 2017 1 次提交
  16. 30 7月, 2017 1 次提交
  17. 27 7月, 2017 4 次提交
  18. 26 7月, 2017 2 次提交
  19. 24 7月, 2017 1 次提交
    • Y
      Remove ScopePtr and OperatorPtr · c2543f5b
      Yu Yang 提交于
      * ScopePtr means pointer of scope, but it can be shared or uniqued.
      Change it to std::shared_ptr<Scope> to make code better to read.
      c2543f5b
  20. 18 7月, 2017 3 次提交
  21. 16 7月, 2017 1 次提交
    • Q
      change net to operator (#2846) · 45ce1649
      Qiao Longfei 提交于
      * OperatorBase should not store OpDesc because not All op contains an
        OpDesc and not all ops create from OpDesc.
        * Networks do not contain OpDesc and are not created by OpDesc
      * Do not register Network to OpRegistry.
        * The network is directly created by the user in Python. Not from
          registry.
      * Correctly handle the `inputs` and `outputs` of a Network.
        * Add CompleteAddOp() methods
      * Remove `AddOp(OpDesc&)` in net-op. All op are added by OperatorPtr.
      * Rewrite unit test for truly tested what networks do.
      * optimise operator_test
      45ce1649
  22. 14 7月, 2017 1 次提交
    • Q
      Optimize ptr (#2851) · 58f3de95
      Qiao Longfei 提交于
      * use OperatorPtr = std::shared_ptr<OperatorBase>;
      * use ScopePtr = std::share_ptr<Scope>;
      58f3de95
  23. 11 7月, 2017 3 次提交