1. 06 Nov, 2019 1 commit
  2. 04 Nov, 2019 1 commit
  3. 01 Nov, 2019 1 commit
    • [NODE][REFACTOR] Rename IRFunctor->NodeFunctor, use func pointer (#4247) · 9a3d2ec9
      * [NODE][REFACTOR] Rename IRFunctor->NodeFunctor, use function pointer for dispatching.
      
      Previously we used std::function for the functor dispatching.
      It introduces additional overhead and problems during dll destruction(of std::function).
      
      This PR changes the std::function to function pointers.
      This change a bit restrictions around the set_dispatch that we can get around,
      but will improve the general efficiency by reducing one level of indirection in the std::function.
      We also no longer need special marcos to register functions to the Functor.
      Tianqi Chen committed
  4. 28 Oct, 2019 1 commit
  5. 24 Oct, 2019 1 commit
    • [NODE][REFACTOR] Refactor reflection system in node. (#4189) · 78ca6fc8
      * [NODE][REFACTOR] Refactor reflection system in node.
      
      - Removed the old Node, Node is now just an alias of runtime::Object
      - Introduce ReflectionVTable, a new columnar dispatcher to support reflection
        - This allows us to remove vtable from most node objects
        - The VisitAttrs are registered via TVM_RESGITER_NODE_TYPE,
          they are no longer virtual.
      - Consolidated serialization and reflection features into node.
      
      * Explicit type qualification when calling destructor.
      
      * Fix SPIRV, more comments
      Tianqi Chen committed
  6. 21 Oct, 2019 1 commit
    • [REFACTOR][NODE][RUNTIME] Move Node to the new Object protocol. (#4161) · 7895adb2
      * [REFACTOR][NODE][RUNTIME] Move Node to the new Object protocol.
      
      This PR removes the original node system, and make node as a subclass of Object.
      This is a major refactor towards a better unified runtime object system.
      
      List of changes in the refactor:
      
      - We now hide data_ field, use Downcast explicitly to get a sub-class object.
      - Removed the node system FFI in python.
      - Removed the node C API, instead use PackedFunc for list and get attrs.
      - Change relay::Op::set_attr_type_key(attr_key_name) to relay::Op::set_attr_type<AttrType>().
        - This change was necessary because of the new Object registration mechanism.
        - Subsequent changes to the op registrations
        - The change revealed a few previous problems that is now fixed.
      - Patched up a few missing node type registration.
        - Now we will raise an error if we register object that is not registered.
      - The original node.h and container.h are kept in the same location.
      - Calling convention: kObjectHandle now equals the old kNodeHandle, kNodeHandle is removed.
      - IRFunctor now dispatches on ObjectRef.
      - Update to the new type checking API: is_type, derived_from are replaced by IsInstance.
      - Removed .hash member function, instead use C++ convention hasher functors.
      
      * Address review comments
      Tianqi Chen committed
  7. 08 Oct, 2019 1 commit
  8. 08 Sep, 2019 1 commit
  9. 01 Sep, 2019 1 commit
  10. 22 Aug, 2019 1 commit
  11. 02 Aug, 2019 1 commit
  12. 16 Jul, 2019 1 commit
  13. 10 Jul, 2019 1 commit
  14. 02 Jul, 2019 1 commit
  15. 28 Jun, 2019 1 commit
  16. 27 Jun, 2019 2 commits
  17. 17 Jun, 2019 1 commit
  18. 15 Jun, 2019 1 commit
  19. 10 Jun, 2019 2 commits
  20. 07 Jun, 2019 1 commit
  21. 06 Jun, 2019 1 commit
  22. 05 Jun, 2019 1 commit
  23. 28 May, 2019 1 commit
  24. 26 May, 2019 1 commit
  25. 24 May, 2019 1 commit
  26. 22 May, 2019 1 commit
  27. 16 May, 2019 1 commit
  28. 09 May, 2019 1 commit
    • [Relay][Op] Adaptive pooling (#3085) · 147ea3b0
      * Add topi adaptive_pool
      
      * Use adaptive_pool to compute global_pool
      
      * Add relay adaptive pool2d
      
      * Fix lint
      
      * Fix typo
      
      * Minor change
      
      * Change support level to 10
      
      * Add contrib
      
      * Remove global pool schedule
      
      * Add contrib module
      
      * Fix lint
      
      * Update doc
      
      * Update doc
      Yao Wang committed
  29. 01 May, 2019 1 commit
  30. 30 Apr, 2019 1 commit
  31. 29 Apr, 2019 1 commit
    • [Relay][TOPI] Gluncv SSD support on the GPU (#2784) · a706ad16
      * ssd gluoncv gpu op updated
      
      * ssd gluoncv gpu op updated
      
      * tutorials and testes modified
      
      * tutorials and testes modified
      
      * fix lint
      
      * fix lint
      
      * address comment
      
      * multibox bug fixed
      
      * space line added
      
      * use less threads per block
      
      * use less threads per block
      
      * less threads per block for get valid count
      
      * less threads per block for get valid count
      
      * merge with master
      
      * Revert "less threads per block for get valid count"
      
      This reverts commit 08896cfccc34b0b2a1646d01d01ea4cad73941c4.
      
      * Revert "less threads per block for get valid count"
      
      This reverts commit 08896cfccc34b0b2a1646d01d01ea4cad73941c4.
      
      * typo fixed
      
      * elem length made to a variable
      
      * fix lint error
      
      * fix lint error
      
      * lint fixed
      
      * bug fixed
      
      * bug fixed
      
      * lint fixed
      
      * error fixed
      
      * error fixed
      
      * test ci
      
      * test ci
      
      * seperate argsort to be an independent op
      
      * seperate argsort to be an independent op
      
      * fix lint
      
      * fix lint
      
      * remove unsupported models
      
      * typo fixed
      
      * argsort added to realy
      
      * solve conflicts with master
      
      * fix lint
      
      * fix lint
      
      * test push
      
      * Revert "test push"
      
      This reverts commit 6db00883fab6cc06bddf564c926bb27c874397d8.
      
      * fix lint error
      
      * fix more lint
      
      * cpu test_sort udpated
      
      * debug ci
      
      * nms fixed
      
      * expose argsort to relay frontend
      
      * test ci
      
      * fix lint
      
      * sort register error fixed
      
      * fix nnvm
      
      * nms type fixed
      
      * adaptive pooling added to relay
      
      * Revert "adaptive pooling added to relay"
      
      This reverts commit 1119f1f2c055753e0cc5611627597749134c5c8c.
      
      * fix lint
      
      * expose argsort op
      
      * fix lint
      
      * fix lint
      
      * fix lint
      
      * sort test updated
      
      * sort bug fixed
      
      * nnvm error fixed
      
      * fix argsort default data type returned to be float insteaf of int
      
      * fix lint
      
      * fix lint
      
      * test fixed
      
      * fix valid count
      
      * fix titanx bug
      
      * tutorial add both targets
      
      * titanx error fixed
      
      * try to fix CI old gpu error
      
      * try to solve CI GPU error
      
      * get_valid_count added
      
      * reverse get_valid_count
      
      * get valid count optimized
      
      * address comments
      
      * fix ci error
      
      * remove unessesary block sync
      
      * add back one sync
      
      * address comments
      
      * address more comments
      
      * more comments
      
      * move sort to be indepent algorithm
      
      * typo fixed
      
      * more typos
      
      * comments addressed
      
      * doc updated
      
      * fix pylint
      
      * address final comments
      
      * apache license added
      Leyuan Wang committed
  32. 28 Apr, 2019 1 commit
  33. 27 Apr, 2019 1 commit
  34. 23 Apr, 2019 1 commit
  35. 21 Apr, 2019 1 commit
  36. 18 Apr, 2019 1 commit
  37. 17 Apr, 2019 1 commit
  38. 16 Apr, 2019 1 commit