1. 27 Oct, 2019 2 commits
  2. 25 Oct, 2019 2 commits
  3. 24 Oct, 2019 4 commits
  4. 23 Oct, 2019 1 commit
  5. 22 Oct, 2019 2 commits
  6. 21 Oct, 2019 3 commits
    • [Relay][QNN] Add unit test for int8 (#4159) · 6f9d028b
      * [bugfix][codegen] fix casting bug in llvm codegen
      
      * update example
      
      * retrigger ci
      
      * check llvm version
      Zhi committed
    • Add support for quantized multiply to Relay (#4141) · e5835425
      This patch adds multiply operator for quantized tensors.
      The details of the quantized multiplication are outlined
      in the code.
      
      This builds on pull request 3927 and includes the changes
      Animesh mentions in the comments on that request.
      
      Change-Id: I555715b53d0266a91d5c03dc3dfe8fc31e7ce4e1
      ekalda committed
    • [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. 20 Oct, 2019 1 commit
  8. 18 Oct, 2019 3 commits
  9. 17 Oct, 2019 2 commits
  10. 16 Oct, 2019 3 commits
  11. 15 Oct, 2019 4 commits
  12. 14 Oct, 2019 2 commits
  13. 13 Oct, 2019 1 commit
  14. 11 Oct, 2019 3 commits
  15. 10 Oct, 2019 3 commits
  16. 09 Oct, 2019 1 commit
    • [TVM] Rewrite simplification rule to eliminate unnecessary conditionals. (#4076) · f2abd9f6
      The current bounds checking infrastructure inserts checks like:
      
      ```
      for (i, 0, bounds[n]) {
        if (likely(i < bounds[n]) {
           ...
        }
      }
      ```
      
      into the TVM IR which is currently not removed by simplification infrastructure.
      This is a little unclean, as these are trivially true since for a loop var `i`
      with a given min and extent, we are guaranteed that `i >= min` and `i < min +
      extent`. Thus, we can insert these checks into the IR and use them to eliminate
      trivial bounds checks early on.
      Andrew Tulloch committed
  17. 08 Oct, 2019 2 commits
  18. 07 Oct, 2019 1 commit