1. 28 9月, 2018 1 次提交
    • Y
      refactor(op): polish generate_proposals_op · 593ad763
      Yu Yang 提交于
      Polish styles in generate_proposals_op.
      
      1. inline lambda functions rathar than use std::function to save var.
      2. add `static inline` to template functions .cc
         * Make them static to prevent generating symbols.
         * Make them inline to give compiler a hit inline them as possible.
         * Not if the function is not static, they cannot be inlined since the
           symbols should be exported.
      3. add `static` to global functions in .cc
         * Make them static to prevent generating symbols.
      4. Use Vector<uint64> instead manually manange storage between devices.
      5. Prefer to use platform::ForRange, so we can optimize `ForRange` by
         just changing `for_range.h` if it is needed.
      6. Do not change shape of inputs
      
      test=develop
      593ad763
  2. 12 2月, 2018 1 次提交
  3. 10 2月, 2018 2 次提交
  4. 04 10月, 2017 1 次提交
  5. 03 10月, 2017 1 次提交
  6. 29 9月, 2017 2 次提交
  7. 22 8月, 2017 2 次提交
  8. 17 8月, 2017 1 次提交
  9. 11 8月, 2017 1 次提交
  10. 10 8月, 2017 1 次提交
  11. 09 8月, 2017 1 次提交
  12. 08 8月, 2017 1 次提交
  13. 06 8月, 2017 1 次提交
  14. 03 8月, 2017 3 次提交