1. 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
  2. 21 9月, 2017 1 次提交
  3. 20 9月, 2017 1 次提交
  4. 15 9月, 2017 1 次提交
  5. 14 9月, 2017 1 次提交
  6. 13 9月, 2017 1 次提交
  7. 12 9月, 2017 2 次提交
  8. 11 9月, 2017 2 次提交
  9. 08 9月, 2017 2 次提交
    • W
      Fix comment · d960cbdc
      wanghaoshuang 提交于
      d960cbdc
    • W
      Refine pad op · 0910a9ba
      wanghaoshuang 提交于
      1. Rename variables by Google style.
      2. Add more test cases.
      3. Add more detail and meaningful comments.
      4. Change type of "padding" to vector<int>
      0910a9ba
  10. 06 9月, 2017 2 次提交
  11. 30 8月, 2017 1 次提交
  12. 21 8月, 2017 1 次提交
  13. 18 8月, 2017 2 次提交
  14. 15 8月, 2017 2 次提交
  15. 14 8月, 2017 2 次提交
  16. 12 8月, 2017 5 次提交
  17. 10 8月, 2017 1 次提交
  18. 08 8月, 2017 2 次提交
  19. 07 8月, 2017 2 次提交
  20. 05 8月, 2017 1 次提交
  21. 03 8月, 2017 1 次提交
  22. 01 8月, 2017 1 次提交
    • 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
  23. 25 7月, 2017 1 次提交
  24. 24 7月, 2017 1 次提交
  25. 20 7月, 2017 1 次提交
  26. 19 7月, 2017 2 次提交
    • Q
      replace Tensor::tensor to EigenTensor::From · 736d078c
      qijun 提交于
      736d078c
    • F
      Simplify Tensor implimentation · 55d30172
      fengjiayi 提交于
      ATTENTION: some interfaces changed:
      1. void Tensor::set_dims(const DDim& dims) ==> void Tensor::Resize(const DDim& dims).
      2. void Tensor::ShareDataFrom(const Tensor& src)  ==> void Tensor::ShareDataWith(const Tensor& src)
      3. DDim Tensor::dims() const ==> const DDim& Tensor::dims() const
      55d30172