1. 21 7月, 2017 1 次提交
    • Q
      add cross-entropy-op (#2965) · 26857659
      Qiao Longfei 提交于
      * add cross-entropy-op
      
      * add infershape and compute
      
      * implement Infershape and compute of onehotcrossentropy op
      26857659
  2. 19 7月, 2017 5 次提交
  3. 18 7月, 2017 1 次提交
    • Y
      Skeleton Of fully connected operator · d3373c5b
      Yu Yang 提交于
      * Fc operator is a grouped operator, which combined by may internal
        operators.
      * InferShape & Run a FC operator in Python.
      d3373c5b
  4. 17 7月, 2017 8 次提交
  5. 16 7月, 2017 1 次提交
    • Y
      CMake `op_library` function · d3a749a5
      Yu Yang 提交于
      * It is used to create an operator library. It handles to split CPU and
        GPU sources and links operator common libraries.
      * It also give a reasonable warning and error when operator developer
        not correctly implement an operator.
        * Warning for lack of GPU kernel.
      * Same interface as `cc_library` to make code style consistent.
      d3a749a5
  6. 15 7月, 2017 1 次提交
  7. 14 7月, 2017 2 次提交
  8. 13 7月, 2017 1 次提交
    • Y
      Follow comments · 79b70c2d
      Yu Yang 提交于
      * Convert `op` --> `operators`
      * Remove AddType in OpProtoMaker, because type is part of registry.
      * Rename CPU_OR_GPU --> DEVICE_TYPE in registry macro.
      79b70c2d
  9. 12 7月, 2017 2 次提交
    • Y
      Add OperatorWithKernel class · 0ff81920
      Yu Yang 提交于
      * User can register OpKernel to its Ops. The OpKernelMap saved in
        OperatorWithKernel. Each Op which inherits OperatorWithKernel will
        use `OpKernel::Compute` instead of Run.
      0ff81920
    • Q
      add operator base (#2725) · a2e5f652
      Qiao Longfei 提交于
      Add OperatorBase.
      
      issue: https://github.com/PaddlePaddle/Paddle/issues/2790
      
      Paddle design the Operator with Kernel. OperatorBase has no type and device information when create, One operator can have multiple kernels, Operator will choose a kernel to run according to context. The kernel should be bind to Operator before or during Operator running.
      a2e5f652
  10. 11 7月, 2017 1 次提交