1. 11 Apr, 2020 1 commit
  2. 10 Apr, 2020 2 commits
  3. 01 Apr, 2020 1 commit
  4. 30 Mar, 2020 1 commit
  5. 28 Mar, 2020 1 commit
    • [NODE][IR] Introduce StructuralEqual Infra for the unified IR. (#5154) · 997a14ed
      * [NODE][IR] Introduce StructuralEqual Infra for the Unified IR.
      
      This PR introduces a new way to handle structural equality
      for both TIR and relay nodes in an extensive way.
      
      - Each object can now register an optional SEqualReduce function, which
        describes how to reduce its structural equality to another instance
        into equality of the children.
      - Optionally, the object can choose to allow remapping of vars(e.g. function parameters)
        by calling DefEqual
      - We implemented a non-recursive structural equality checker that
        recursively traverses the objects and does the structural equality checking.
      
      This PR also fixes a few potential problems in previous relay's AlphaEqual.
      
      - In particular, the new structural equality relation will be communicative.
      - It is can be dangerous to use same_as relation to quickly check equality,
        demonstrated by the following case. (%x, %y) are shared vars between two functions.
      
      - function0: fn (%x, %y) { %x + %y }
      - function1: fn (%y, %x) { %x + %y }
      
      The new structural equal is intented to supersede AlphaEqual and AttrsEqual.
      
      Follow-up PRs should be performed to redirect the existing usages, and removes
      the corresponding implementation.
      
      * Update the rule to distinguish between graph node and non-graph nodes.
      
      * Refactor the test cases to use structural equal.
      
      * address comments
      
      * Mark more relay::Expr as graph node, fix a testcase issue(was bug that was not caught by previous alpha equal)
      
      * Remove unrelated comment
      
      * Fix file comment
      
      * Address review comment
      
      * Relax condition to fit flaky case
      Tianqi Chen committed
  6. 23 Mar, 2020 3 commits
    • [Frontend][TensorFlow]TensorFlow Parser Control Flow Enhancement (#5020) · 7bc0b27e
      * Improve TF control flow major logic
      
      * Pass mod into operator convert function
      
      * Fix LoopBound
      
      * Add more control flow tests
      
      * Add two test cases for stridedslice
      
      * Fix docstring
      
      * Fix lint
      
      * Fix import
      
      * Fix test assert
      
      * Minor fix conv3d
      
      * Add more comments
      
      * Fix for dilation2d
      
      * Change newly added atan
      
      * Change newly added unravel
      Yao Wang committed
    • [Relay, Topi, TF Frontend] Isfinite operator (#4981) · 9037f4ec
      * isfinite doc update
      
      * isfinit expr
      
      * isfinit expr
      
      * isfinite schedule reg
      
      * isfinite python binding
      
      * isfinite python binding
      
      * relay register isfinite
      
      * isfinite type relation
      
      * intrin isfinite
      
      * topi isfinite
      
      * testcase topi isfinite
      
      * tf frontend isfinite
      
      * tf frontend isfinite testcase
      
      * test case relay isfinite
      
      * small fixes
      
      * test forward tf isfinite
      
      * test cases injective for cuda
      
      * remove float16 test case
      
      * add support for isinf
      
      * remove unwanted import
      
      * fix conflict
      Mahesh Ambule committed
    • [Relay, Topi] [TF, MXNet] Unravel Index operator (#5082) · fdc8b0dd
      * first cut unravel_index
      
      * merge fixes
      
      * change rates to dilations
      
      * unravel_index op relay, topi, mxnet, tf
      
      * doc changes
      
      * small changes
      
      * remove empty unravel and argwhere attrs
      
      * remove empty unravel and argwhere attrs
      Mahesh Ambule committed
  7. 20 Mar, 2020 1 commit
  8. 17 Mar, 2020 1 commit
    • [Relay, TF Frontend] Dilation2D operator support (#5033) · 646cfc63
      * update docs for dilation 2d
      
      * dilation2d compute
      
      * dilation2d register
      
      * dilation2d rel compute
      
      * dilation2d strategy
      
      * dilation2d attrs
      
      * dilation2d generic schedule
      
      * dilation2d tf frontend support
      
      * dilation2d tf frontend test case
      
      * dilation2d test cases
      
      * pylint fixes
      
      * add exception for cuda target
      
      * Update docstring
      
      * Update docstring
      
      * change rates to dilations
      
      * removed unused param
      
      * merge master
      
      * Update nn.py
      
      * Update nn.py
      Mahesh Ambule committed
  9. 16 Mar, 2020 1 commit
  10. 11 Mar, 2020 1 commit
    • [topi][relay] new PR to re-add tan to TVM (#5025) · 45ee7b5f
      * Add relay operation relay.op.tan.
      
      * Update tan implementation in TVM.
      
      * Update tests.
      
      * Add shape function for tan.
      
      * Add missing main test to python/frontend/tensorflow/test_forward.
      
      * Revert, back to sin/cos.
      
      * Revert "Revert, back to sin/cos."
      
      This reverts commit 4da5b503b921585ba9d80944b29136142b575c40.
      
      * Fix implementation of tan in cuda. Do not support tan for float16.
      
      Simplify topi/tests/python/test_topi_math. Add testing for tan with float32 and float64.
      
      Finally implement tan as sin/cos in llvm.
      notoraptor committed
  11. 10 Mar, 2020 1 commit
  12. 08 Mar, 2020 1 commit
  13. 06 Mar, 2020 1 commit
    • [topi][relay] add operation tan to TVM (#4938) · d992468d
      * Add relay operation relay.op.tan.
      
      * Update tan implementation in TVM.
      
      * Update tests.
      
      * Add shape function for tan.
      
      * Add missing main test to python/frontend/tensorflow/test_forward.
      
      * Revert, back to sin/cos.
      
      * Revert "Revert, back to sin/cos."
      
      This reverts commit 4da5b503b921585ba9d80944b29136142b575c40.
      
      * Fix implementation of tan in cuda. Do not support tan for float16.
      
      Simplify topi/tests/python/test_topi_math. Add testing for tan with float32 and float64.
      
      Try again to implement tan as sin/cos in llvm.
      Yao Wang committed
  14. 02 Mar, 2020 1 commit
  15. 27 Feb, 2020 1 commit
  16. 11 Feb, 2020 1 commit
  17. 24 Jan, 2020 1 commit
  18. 18 Jan, 2020 1 commit
  19. 11 Jan, 2020 2 commits
  20. 01 Jan, 2020 1 commit
  21. 28 Dec, 2019 1 commit
  22. 23 Dec, 2019 1 commit
  23. 13 Dec, 2019 1 commit
  24. 08 Dec, 2019 1 commit
  25. 21 Nov, 2019 1 commit
  26. 18 Nov, 2019 2 commits
  27. 15 Nov, 2019 1 commit
  28. 12 Nov, 2019 2 commits
  29. 11 Nov, 2019 3 commits
  30. 10 Nov, 2019 1 commit
  31. 02 Nov, 2019 1 commit
  32. 01 Nov, 2019 1 commit