1. 11 Jan, 2020 2 commits
  2. 09 Jan, 2020 1 commit
  3. 22 Dec, 2019 1 commit
  4. 18 Nov, 2019 1 commit
  5. 15 Nov, 2019 1 commit
  6. 30 Oct, 2019 1 commit
  7. 27 Sep, 2019 1 commit
  8. 25 Sep, 2019 1 commit
  9. 24 Sep, 2019 1 commit
    • [Relay] Add new IR pass CombineParallelDense (#3862) · ed9fdfb0
      * Refactor to create abstract ParallelOpCombiner
      
      * First draft of CombineParallelDense
      
      * Begin to work on tests
      
      * Test
      
      * Refactor to move out more common code
      
      * Clean up
      
      * Fix
      
      * Remove statics
      
      * fix wording
      
      * Start to add combine_parallel_op_batch
      
      * Resolve PR comments
      
      * Resolve PR comments
      
      * dummy change to retrigger CI
      
      * Change special case from bias_add to add
      
      * Revert special case change
      
      * Ignore units check
      
      * dummy change to retrigger CI
      
      * dummy change to re-trigger CI
      
      * Improve docs
      
      * Update docs
      
      * Update docs
      Jon Soifer committed
  10. 22 Sep, 2019 1 commit
  11. 21 Sep, 2019 1 commit
  12. 16 Sep, 2019 1 commit
  13. 22 Aug, 2019 1 commit
    • [TOPI][Relay][TensorFlow] Add OneHot operator (#3781) · 554df211
      * Add one-hot to Relay
      
      * topi implementation
      
      * Working
      
      * add topi test
      
      * Add TF test
      
      * Fix check
      
      * fix linting issues
      
      * fix documentation
      
      * Fix documentation
      
      * Add support for on_value, off_value, axis, dtype
      
      * Add full support for axis
      
      * Fix compute and update test_forward
      
      * Move on_value and off_value to inputs
      
      * Add topi test
      
      * Update tests
      
      * Update docs
      
      * Fix style
      
      * re-enable tests
      
      * Add one_hot to mxnet converter
      Jon Soifer committed
  14. 13 Aug, 2019 1 commit
  15. 23 Jul, 2019 1 commit
    • {relay,topi}.reinterpret support (#3599) · 2ed31b24
      = Motivation
      
      It's useful to expose the tvm::reinterpret functionality to Relay/TOPI users, as
      this allows them to build (fused) operators leveraging the bitwise
      reinterpretation of an operator. An example is approximate transcendental
      functions, which can be implemented similar to:
      
      ```.py
          def C(x):
              return relay.expr.const(x, "float32")
      
          def approx_exp(x):
              x = relay.minimum(relay.maximum(x, C(-88.0)), C(88.0))
              x = C(127.0) + x * C(1.44269504)
              xf = relay.floor(x)
              i = relay.cast(xf, "int32")
              x = x - xf
              Y = C(0.99992522) + x * (C(0.69583354) + x * (C(0.22606716) + x * C(0.078024523)))
              exponent = relay.left_shift(i, relay.expr.const(23, "int32"))
              exponent = relay.reinterpret(exponent, "float32")
              return exponent * Y
      
          def approx_sigmoid(x):
              # <2.0e-5 absolute error over [-5, 5]
              y = approx_exp(x)
              return y / (y + C(1.0))
      
          def approx_tanh(x):
              # <4.0e-5 absolute error over [-5, 5]
              x = x * C(2.0)
              y = approx_exp(x)
              return (y - C(1.0)) / (y + C(1.0))
      ```
      
      See unit tests for implementations of these approximate transendentals.
      Andrew Tulloch committed
  16. 19 Jul, 2019 1 commit
  17. 02 Jul, 2019 1 commit
  18. 28 Jun, 2019 1 commit
    • [RELAY] [OP] [MXNet Frontend] Add sequence_mask (#3437) · 8ef22176
      * Add sequence_mask
      
      use exactly the same arguments as mxnet
      
      fix
      
      * fix lint
      
      * fix lint
      
      * add mxnet conversion + relay
      
      * update
      
      * update doc
      
      * fix pylint
      
      * fix doc
      
      * address comment
      
      * try to address comments
      
      * try to enable shape check for valid_length
      
      * fix
      
      * try to fix
      
      * fix bug
      
      * try to fix
      
      * address comment
      
      * address comment
      Xingjian Shi committed
  19. 04 Jun, 2019 1 commit
  20. 24 May, 2019 1 commit
  21. 21 May, 2019 1 commit
  22. 20 May, 2019 1 commit
  23. 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
  24. 25 Apr, 2019 1 commit
  25. 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
  26. 19 Mar, 2019 1 commit
  27. 14 Mar, 2019 1 commit
  28. 13 Mar, 2019 1 commit
  29. 11 Mar, 2019 2 commits
  30. 06 Mar, 2019 1 commit
  31. 03 Mar, 2019 1 commit
  32. 01 Mar, 2019 1 commit
    • [Relay/TOPI][Op] Add batch_matmul in relay and TOPI (#2561) · 84590063
      * Add batch_dot and cpu schedule
      
      * Add relay support for batch_dot
      
      * Rename batch_dot to batch_matmul
      
      * nits
      
      * Add missing file
      
      * Put batch_matmul and dense x86 schedule in separate files
      
      * Fix pylint
      
      * Remove unused import
      
      * Add cuda schedule for batch_matmul
      
      * Add test case with larger batch size
      
      * Add batch_matmul in api doc
      
      * Fix quantize pass rounding error
      
      * Fix pylint and minor change
      
      * bug fix
      Haichen Shen committed
  33. 28 Feb, 2019 1 commit
    • [Lang] Layout in TVM node system (#2509) · ee79703c
      * move layout.h & layout.cc from relay to tvm
      
      * change ConvertLayout in relay to bijectiveLayout->Forward/backward
      
      * add first test case
      
      * add LayoutAxis
      
      * add LayoutAxis struct and compiles
      
      * simplify BijectiveLayout rule consturct
      
      * polish func name for Layout, move impl to .cc, remove Layout::defined(), add defined() checker
      
      * partially add layout py support
      
      * add layout test cases
      
      * add doc for tvm.layout & tvm.bijective_layout
      
      * fix lint
      
      * fix lint
      
      * fix layout name generation bug
      
      * fix layout typo
      
      * address comments and add topi.layout_transform
      
      * layout.h->data_layout.h, test_lang_layout.py->test_lang_data_layout.py
      Yizhi Liu committed
  34. 23 Feb, 2019 1 commit
  35. 17 Jan, 2019 1 commit
  36. 14 Jan, 2019 1 commit
  37. 11 Jan, 2019 1 commit
  38. 02 Dec, 2018 1 commit