1. 31 10月, 2017 1 次提交
    • F
      Add accuracy layer (#4958) · f122a5da
      fengjiayi 提交于
      * Complete accuray layer
      
      * Fix error
      
      * Fix error
      
      * Add 'accuracy' to __all__
      
      * update
      
      * Fix Type error
      
      * Fix error
      
      * Refine unit tests
      
      * Fix an unit test error
      f122a5da
  2. 29 10月, 2017 1 次提交
    • Y
      Polish Accuracy Op (#5191) · 46a13e37
      Yu Yang 提交于
      * Accuracy does not support float/double, only support integers
      * Polish error message when an operator does not support some device.
      46a13e37
  3. 20 10月, 2017 1 次提交
  4. 17 10月, 2017 1 次提交
  5. 07 10月, 2017 1 次提交
  6. 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
  7. 21 9月, 2017 1 次提交
  8. 20 9月, 2017 2 次提交
  9. 15 9月, 2017 1 次提交
  10. 14 9月, 2017 2 次提交
    • D
      Fix accuracy_op. · d757c1cd
      dangqingqing 提交于
      d757c1cd
    • Accuracy op (#3907) · 2d623364
      武毅 提交于
      * init add
      
      * add topk op
      
      * someupdate
      
      * fix style check
      
      * add test py file
      
      * update top k cuda kernel
      
      * follow comments
      
      * remove debug print
      
      * accuracy_op
      
      * fix casting error
      
      * fix casting error
      
      * fix casting error
      
      * fix rename bug...
      
      * make it smaller
      
      * update cast
      2d623364