1. 11 Feb, 2020 1 commit
  2. 11 Jan, 2020 1 commit
  3. 06 Jan, 2020 1 commit
    • [REFACTOR] Automatically deduce function type signature in Registry.set_body_typed (#4623) · d5d63a44
      Previously we support a limited case of function type deduction and in many places
      we have to supply the type twice during set_body_typed (one in the template parameter, another in the lambda signature).
      
      This PR improves the deduce function by enablng automatic function signature deduction.
      
      ```
      TVM_REGISTER_GLOBAL("sub")
      .set_body_typed([](int x, int y) -> int { return x - y; });
      ```
      
      Unfortunately, because of template conflict, we can not support the original case
      where both type signature and lambda are supplied through set_body_typed.
      
      This PR refactors the existing regsitration to the new style.
      Tianqi Chen committed
  4. 22 Nov, 2019 1 commit
  5. 11 Nov, 2019 1 commit
  6. 01 Nov, 2019 1 commit
  7. 20 Oct, 2019 1 commit
  8. 18 Oct, 2019 1 commit
  9. 17 Oct, 2019 1 commit