1. 05 Sep, 2019 3 commits
  2. 04 Sep, 2019 1 commit
  3. 02 Sep, 2019 1 commit
  4. 01 Sep, 2019 2 commits
    • [Relay][Any] Add shape func for dynamic shape (#3606) · eef35a57
      * init shape func in interpreter and vm compiler
      
      * Update interpreter
      
      * fix
      
      * lint
      
      * lint
      
      * fix
      
      * remove hack
      
      * update
      
      * fix
      
      * fix
      
      * update
      
      * address comments & update for shape_of
      
      * fix lint
      
      * update
      
      * fix hybrid
      
      * lint
      
      * fix bug & add take shape func
      
      * lint
      
      * lint
      
      * update
      
      * fix flaky test
      
      * add todo
      Haichen Shen committed
    • [Relay] Bitserial ops (#3844) · d08c74ca
      * Added arm_cpu NHWC schedules.
      
      * Fixed kernel shape legalization.
      
      * Added bitserial ops to relay.
      
      * Snapshot and more missing files.
      
      * Added dense testing.
      
      * Added tests
      
      * Added ASF header to new files.
      
      * cc lint
      
      * Pylint change.
      
      * pylint fixes.
      
      * Change arm legalize test.
      
      * Added assert check to arm legalize.
      
      * Added better documentation, fixed some bad style
      
      * Reverted arm conv2d nhwc changes.
      Josh Fromm committed
  5. 31 Aug, 2019 1 commit
  6. 30 Aug, 2019 2 commits
  7. 29 Aug, 2019 2 commits
  8. 23 Aug, 2019 1 commit
  9. 22 Aug, 2019 2 commits
  10. 21 Aug, 2019 1 commit
    • [Relay][VM]VM Profiler (#3727) · 95f12e31
      * [Relay][VM]VM debugger
      
      * Report mean/min/max for op duration
      
      * Typos
      
      * Lint
      
      * Lint
      
      * Lint
      
      * Support build debug VM in CMake
      
      * Lint
      
      * Enable VM debug in unit test
      
      * Disable debug vm test until new docker image is built
      
      * Add device sync code
      
      * Fix qnn unit test
      
      * Disable vm debug by default
      
      * Rename files
      
      * Rename classes
      
      * Fix comment
      
      * Fix comment
      Wei Chen committed
  11. 16 Aug, 2019 2 commits
  12. 15 Aug, 2019 1 commit
  13. 13 Aug, 2019 2 commits
  14. 12 Aug, 2019 1 commit
  15. 11 Aug, 2019 1 commit
  16. 09 Aug, 2019 1 commit
  17. 08 Aug, 2019 1 commit
    • [QNN] Requantize operator (#3531) · a78adbd5
      * [Relay] [Quantization] WIP - Common files for the qauntization work.
      
      * [Relay] [Quantization] WIP - Prototyping requantize op.
      
      * Requantize operator implementation.
      
      Requantize converts one quantized tensor representation to another quantized
      representation. The PR has following implementation features
      
      - Requantize operator defined in qnn namespace - relay.qnn.requantize
      - Lowering of the requantize to exisiting Relay operators
      - Integer fixed point implementation of requantize
          - Two rounding modes - FE_UPWARDS (round towards infinity) and
          FE_AWAY_FROM_ZERO (std::round behavior)
      - Floating point implementation as well, that can act as reference or can be
      used for devices when FP32 computation is not used.
      - Unit test cases
      
      Relevant Issue - https://github.com/dmlc/tvm/issues/2351
      
      Credit to TFLite and GemmLowp to provide reference implementations.
      
      * Typo and lint fixes.
      
      * Doc fix.
      
      * Uncommenting the lint script (fixing mistake).
      
      * Modifying the unit tests.
      
      * Moving C++ files into src/relay/qnn
      
      * Moving python files to python/tvm/relay/qnn. Some minor fixes.
      
      * Moving the attrs.h inside the include directory.
      
      * Pushing files that I forgot earlier. Changing util location.
      
      * Incorporating comments. API change. Lint fixes.
      
      * Modifying the GetFixedPointMultiplierShift API as per comments.
      
      * Forgot the dialect change.
      
      * Changing rewrite to qnn_lower.
      
      * Renaming Quantize to Qnn for clarity.
      
      * Remove use_int_domain.
      
      * Incorportaing review comments.
      
      * Adding API doc for QNN dialect.
      
      * Move the qnn_lower pass to transform namespace.
      
      * Moving from expr to module. Adding namespace in C++.
      
      * Minor sentence rewrites. Added qnn namespace.
      
      * Added the API doc.
      
      * Chanding default out_dtype to int8. Adding a test with in/out_dtype as uint8.
      
      * Style fixes. Better error messages.
      
      * Adding documentation.
      
      * More documentation fixes.
      
      * Adding out dtype check for requantize.
      
      * Adding corner case for FP32 to fixed point conversion.
      
      * Adding extra line.
      
      * Documentation fix.
      
      * Adding static inline.
      
      * Incorporating jackwish comment. Removed idtype from requantize lowering.
      
      * Removing Quantize/Dequantize code. Restricting Requantize to (u)int8/int32.
      
      * Style fixes.
      
      * Fix the docs.
      
      * Move to Legalize API.
      Animesh Jain committed
  18. 07 Aug, 2019 1 commit
  19. 06 Aug, 2019 3 commits
    • [Relay] Legalize pass (#3672) · 79922bd3
      * [Relay] Rewrite pass.
      
      This pass transforms an expression to other expression.
      
      This pass has many usecases
       * Replace a expr to another expr, if the other expr has faster performance.
       * For ASICs, we might want to modify the inputs to adapt to the HW support.
       * Alter op layout can work in conjunction with this pass.
      
      The supporting usecase is the Intel i8 x i8 conv. Intel HW supports u8 x i8 conv
      in HW. Using this pass, we can replace an i8 x i8 conv to a sequence of
      operators where one of the operators is now u8 x i8 conv. This will also help
      automatic quantizaion performance.
      
      * Better API name.
      
      * Removing the conv2d legalization for x86. Will send a separate PR.
      
      * Test name changes.
      
      * Registering one funtion to register FTVMLegalize.
      
      * Better comments.
      Animesh Jain committed
    • [Relay] [TOPI] `{relay,topi}.nn.sparse_transpose` for **Square** CSR matrices (#3707) · 3b287c4d
      * add build gcn tutorial
      
      * add transpose operator for square sparse matrices
      
      * remove extra files
      
      * change loop tag
      
      * comply with lint
      
      * comply with lint -- line too long
      
      * comply with lint
      
      * lint check
      
      * lint check
      
      * lint check
      
      * apply marisa and theirry's reviews
      Yulun Yao committed
  20. 05 Aug, 2019 1 commit
  21. 03 Aug, 2019 1 commit
  22. 02 Aug, 2019 2 commits
  23. 01 Aug, 2019 2 commits
  24. 31 Jul, 2019 1 commit
  25. 25 Jul, 2019 1 commit
  26. 24 Jul, 2019 2 commits
  27. 23 Jul, 2019 1 commit