1. 14 9月, 2017 3 次提交
  2. 13 9月, 2017 2 次提交
  3. 08 9月, 2017 1 次提交
  4. 04 9月, 2017 3 次提交
  5. 03 9月, 2017 1 次提交
  6. 20 8月, 2017 2 次提交
  7. 16 8月, 2017 1 次提交
  8. 15 8月, 2017 1 次提交
  9. 14 8月, 2017 1 次提交
  10. 12 8月, 2017 1 次提交
  11. 11 8月, 2017 2 次提交
  12. 09 8月, 2017 2 次提交
  13. 08 8月, 2017 2 次提交
  14. 07 8月, 2017 1 次提交
  15. 02 8月, 2017 1 次提交
  16. 01 8月, 2017 2 次提交
    • Q
      add check in OPeratorContext Input/Output · 3b58574b
      qiaolongfei 提交于
      3b58574b
    • Q
      use operator context and infer context (#3024) · 61ebacbc
      Qiao Longfei 提交于
      * use operator context
      
      * optimize code
      
      * update net infershape
      
      * update InferShape
      
      * disable override InferShape(scope) in OperatorBase
      
      * change InferShapeImpl to InferShape
      
      * add template to OperatorContext Input/Output
      
      * merge Input InputVar, Output OutputVar
      
      * change Inputs to MultiInput
      
      * fix conflict
      
      * fix MultiInput bugs and add unit test
      
      * rename KernelContext to ExecutionContext
      
      * clean code
      
      * change InferShape to protected
      
      * fix template bug
      
      * refine code
      
      * use InputVar instead of Input<Variable>
      
      * typo
      
      * optimize code
      61ebacbc
  17. 28 7月, 2017 2 次提交
  18. 27 7月, 2017 1 次提交
  19. 26 7月, 2017 1 次提交
  20. 25 7月, 2017 1 次提交
  21. 18 7月, 2017 1 次提交
  22. 17 7月, 2017 4 次提交
  23. 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
  24. 15 7月, 2017 2 次提交
    • Y
      Python Generate OpCreation Methods by OpProto · 9e0c6800
      Yu Yang 提交于
      All OpCreation method are generated by
      `create_op_creation_methods::__bootstrap__` method, and stores in
      `op_creations` object and its methods.
      
      There are three parts to implement this feature.
      
      1. Get all registered `OpProto` from C++ side. It is implemented in
      `get_all_op_protos` method.
      1. Create a function to convert `kwargs` to `OpDesc` base on each op's
      `OpProto`. The `OpDescCreationMethod` class.
      1. Convert `OpProto` to `docstring` by `get_docstring_from_op_proto`
      method.
      
      All three methods are unit tested. The `__bootstrap__` just combines
      them together and create a method in runtime.
      
      For details, please reference the doc string in
      `create_op_creation_methods.py` and the unit test
      `test_op_creation_methods.py`.
      9e0c6800
    • L
      FIX: cpplint code style · 620575b6
      liaogang 提交于
      620575b6
  25. 14 7月, 2017 1 次提交