1. 12 Feb, 2020 1 commit
    • [REFACTOR][PY][API-CHANGE] establish tvm.ir, migrate corresponding files (#4862) · a5661611
      * [REFACTOR][PY][API-CHANGE] establish tvm.ir, migrate corresponding relay files.
      
      This PR establishes tvm.ir and migrates the corresponding relay
      files into the new folder.
      
      API Change:
      - relay.Module -> tvm.IRModule
      
      * Update with ADT
      
      * Migrate transform
      
      * address comments
      
      * Migrate module
      
      * Migrate json_compact
      
      * Migrate attrs
      
      * Move LoweredFunc to stmt temporarily
      
      * temp migrate container
      
      * Finish migrate container
      Tianqi Chen committed
  2. 09 Feb, 2020 1 commit
  3. 31 Jan, 2020 1 commit
  4. 15 Jan, 2020 1 commit
  5. 11 Jan, 2020 2 commits
    • [Relay/Topi][Op] Conv1D (#4639) · 35099e6a
      * added conv1d operators to topi.
      
      * Started to add python testing.
      
      * Added python conv1d implementation for testing.
      
      * Wrote test but need to add cuda schedule :(
      
      * Cuda schedules working for both conv1d layouts.
      
      * All topi tests passing.
      
      * Formatting topi.
      
      * Removed pad_method option as its probably overkill.
      
      * Added relay op definition of conv1d.
      
      * End2end conv1d working with onnx.
      
      * Lint fixes.
      
      * Formatting fixes.
      
      * Rebase fix.
      
      * Switched to array based attributes for consistency across convs.
      
      * Improved onnx parsing and testing for convolutions.
      
      * lint fix
      
      * Tiny tweak.
      
      * Bug fix
      
      * Rebase fix.
      
      * Add group ignore to onnx conv1d frontend.
      
      * Unified MakeConv and fixed documentation.
      
      * improved autopadding
      
      * Addressed feedback and simplified onnx frontend.
      
      * Format fix.
      
      * Basic X86 NCW schedule working.
      
      * Added nwc schedule.
      
      * fixed name
      
      * Added more tests and basic x86 schedules.
      
      * Format fix.
      
      * Added non power of two shape tests.
      Josh Fromm committed
    • [Relay][TOPI]Fix meaning of conv2d_transpose output_padding parameter (#4318) · dcf7fbf1
      * Add output_padding to generic
      
      * Add output_padding to the reference impl
      
      * Add output_padding to arm_cpu
      
      * Add output_padding to the test
      
      * Add output_padding for cuda
      
      * Add output_padding for x86
      
      * Make use of the new output_padding argument in Relay
      
      * Adjust conv2d_transpose Relay test
      
      * Fix lint errors
      
      * Fix the VTA declaration of conv2d_transpose
      
      * support for output padding in conv2d transpose
      
      * some output padding will break IR pass
      
      * Fix new conv2d_transpose test
      
      * Update tophub
      
      * Fix conv1d output_padding too.
      
      * Fix the conv1d_transpose reference function.
      
      * Fix the cuda impl
      
      * fix the topi test for conv1d
      
      * Update the versions in tophub.py
      
      Co-authored-by: Thierry Moreau <tmoreau@octoml.ai>
      abergeron committed
  6. 09 Jan, 2020 1 commit
  7. 01 Jan, 2020 1 commit
  8. 27 Dec, 2019 1 commit
  9. 26 Dec, 2019 1 commit
  10. 24 Dec, 2019 1 commit
  11. 23 Dec, 2019 1 commit
  12. 18 Dec, 2019 1 commit
  13. 04 Dec, 2019 1 commit
  14. 27 Nov, 2019 1 commit
  15. 23 Nov, 2019 1 commit
  16. 11 Nov, 2019 1 commit
    • Add More Shape Functions (#4179) · 62521453
      * Add shape functions
      
      * Fix get_const_tuple
      
      * Fix cpplint
      
      * Fix pylint
      
      * Fix pylint
      
      * rebase and fix
      
      * Check Any for infer type
      
      * Fix expand_dim shape func for zero rank input
      
      * Fix pooling infer type
      
      * Address comment
      
      * Register layout transform attr
      Yao Wang committed
  17. 28 Oct, 2019 1 commit
  18. 25 Oct, 2019 1 commit
  19. 24 Oct, 2019 1 commit
  20. 10 Oct, 2019 1 commit
  21. 05 Oct, 2019 1 commit
  22. 13 Sep, 2019 1 commit
  23. 01 Sep, 2019 1 commit
    • [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
  24. 29 Aug, 2019 1 commit
  25. 23 Aug, 2019 1 commit
  26. 22 Aug, 2019 1 commit
  27. 21 Aug, 2019 1 commit
  28. 14 Aug, 2019 1 commit
  29. 13 Aug, 2019 1 commit
    • [Relay] SpaceToDepth and MirrorPad Operators (#3718) · 8bd9d4d5
      * Added relay and topi mirror_pad operator.
      
      * Added mirror_padding to tensorflow frontend.
      
      * Added mirrorpad testing in tensorflow frontent.
      
      * Added space_to_depth in tf frontend.
      
      * Added tests for spacetodepth.
      
      * spacetodepth bug fix.
      
      * Lint fix
      
      * Added mirror pad python attrs.
      
      * Pad code formatting.
      
      * Syntax improvement
      
      * Hopefully last lint fix
      Josh Fromm committed
  30. 06 Aug, 2019 2 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
  31. 24 Jul, 2019 1 commit
  32. 23 Jul, 2019 1 commit
  33. 28 Jun, 2019 1 commit
  34. 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
  35. 27 Apr, 2019 1 commit
    • Fixed issue #3069 by checking op tag (#3070) · 8f56949b
      * Fixed issue #3069 by adding in_channels
      
      * Registerd group_conv2d_nchw as topi compute
      
      * Improved by checking tag value
      
      * Removed group_conv2d_nchw topi registration
      
      * Added test for relay group_conv2d_nchw
      
      * Added assertions to forbid small group size
      
      * Removed hard-coded oc_block_factor
      
      * Added explanatory comments to group_conv2d_nchw_cuda
      
      * Updated group_conv2d_nchw_cuda schedule
      
      Removed 'direct' CUDA tests
      
      * Reverted an accidental change in a conv2d test
      
      * Fixed indentation problems
      
      * Fixed a mis-commented line
      
      * Reverted change in group_conv2d_nchw tag
      
      * Removed commented int8 group_conv2d test
      
      * Fixed group size assertions in group_conv2d_nchw_cuda
      Ruizhe Zhao (Vincent) committed
  36. 26 Apr, 2019 1 commit
  37. 17 Apr, 2019 1 commit
  38. 08 Apr, 2019 1 commit
    • [HEADER] Add Header to Comply with ASF Release Policy (#2982) · cffb4fba
      * [HEADER] ASF header dir=include
      
      * [HEADER] ASF Header dir=src
      
      * [HEADER] ASF Header -dir=python
      
      * [HEADER] ASF header dir=topi
      
      * [HEADER] ASF Header dir=nnvm
      
      * [HEADER] ASF Header -dir=tutorials
      
      * [HEADER] ASF Header dir=tests
      
      * [HEADER] ASF Header -dir=docker
      
      * fix whitespace
      
      * [HEADER] ASF Header -dir=jvm
      
      * [HEADER] ASF Header -dir=web
      
      * [HEADER] ASF Header --dir=apps
      
      * [HEADER] ASF Header --dir=vta
      
      * [HEADER] ASF Header -dir=go
      
      * temp
      
      * [HEADER] ASF Header --dir=rust
      
      * [HEADER] Add ASF Header --dir=cmake
      
      * [HEADER] ASF Header --dir=docs
      
      * [HEADER] Header for Jenkinsfile
      
      * [HEADER] ASF Header to toml and md
      
      * [HEADER] ASF Header to gradle
      
      * Finalize rat cleanup
      
      * Fix permission
      
      * Fix java test
      
      * temporary remove nnvm onnx test
      Tianqi Chen committed