1. 08 8月, 2017 1 次提交
  2. 07 8月, 2017 1 次提交
    • Y
      Add uniform random operator · e376bda4
      Yu Yang 提交于
      It can be run both CPU/GPU. configure attributes are:
      
      * min: the min value of uniform random
      * max: the max value of uniform random
      * dims: the dimension of output tensor
      * seed: the random seed of uniform random. 0 means generate a seed each
              time.
      e376bda4
  3. 05 8月, 2017 1 次提交
  4. 04 8月, 2017 3 次提交
  5. 03 8月, 2017 2 次提交
  6. 02 8月, 2017 1 次提交
  7. 31 7月, 2017 2 次提交
  8. 27 7月, 2017 2 次提交
  9. 26 7月, 2017 4 次提交
  10. 25 7月, 2017 1 次提交
  11. 24 7月, 2017 3 次提交
  12. 21 7月, 2017 1 次提交
  13. 20 7月, 2017 4 次提交
  14. 19 7月, 2017 1 次提交
  15. 18 7月, 2017 1 次提交
  16. 17 7月, 2017 2 次提交
  17. 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
  18. 15 7月, 2017 3 次提交
  19. 13 7月, 2017 2 次提交
    • Y
      Add a sample op, `add_op` · a0aaafe9
      Yu Yang 提交于
      * Refine register methods, make Op can get rid of whole-archieve
      * `USE_OP` before a op is used.
      * Add unittest for add_op.
      a0aaafe9
    • Q
      fix bug in dynload · 4e918377
      qijun 提交于
      4e918377
  20. 12 7月, 2017 2 次提交
  21. 11 7月, 2017 2 次提交
    • Y
      Move static variable defined in .cc (#2782) · 267f9a2c
      Yu Yang 提交于
      * Move static variable defined in .cc
      
      We cannot define static variable in .h, because it will be multi-defined
      errors.
      
      Also fix some cpp syntax, like:
      
      * Prefer to use algorithm not manually for-loop, to make code more
        readable.
      * Remove unused `()`.
      * Enforce take a bool. It is no need `xxx==true`.
      * Use range-based for-loop iterator from op_desc.attrs
      
      * Fix a protential static variable init order error
      267f9a2c
    • Q
      fix build error · a5eb1d8f
      qijun 提交于
      a5eb1d8f