1. 09 8月, 2017 1 次提交
  2. 08 8月, 2017 1 次提交
  3. 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
  4. 05 8月, 2017 1 次提交
  5. 04 8月, 2017 3 次提交
  6. 03 8月, 2017 2 次提交
  7. 02 8月, 2017 1 次提交
  8. 31 7月, 2017 2 次提交
  9. 27 7月, 2017 2 次提交
  10. 26 7月, 2017 4 次提交
  11. 25 7月, 2017 1 次提交
  12. 24 7月, 2017 3 次提交
  13. 21 7月, 2017 1 次提交
  14. 20 7月, 2017 4 次提交
  15. 19 7月, 2017 1 次提交
  16. 18 7月, 2017 1 次提交
  17. 17 7月, 2017 2 次提交
  18. 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
  19. 15 7月, 2017 3 次提交
  20. 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
  21. 12 7月, 2017 2 次提交
  22. 11 7月, 2017 1 次提交
    • 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