- 28 Sep, 2019 1 commit
-
-
Tianqi Chen committed
-
- 08 Sep, 2019 1 commit
-
-
雾雨魔理沙 committed
-
- 06 Sep, 2019 1 commit
-
-
雾雨魔理沙 committed
-
- 03 Aug, 2019 1 commit
-
-
* Fix gather_nd in Relay * Add test cases for gather_nd.
Huilin Qu committed
-
- 23 Jul, 2019 1 commit
-
-
= 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
-
- 10 Jul, 2019 1 commit
-
-
* Implement type checking for Any Remove code generation related changes Remove compile changes Remove more Remove unification hack Add some code back that was needed, and clean up test Refactor test cases WIP Implement TypeHint AST Add test case which should fail Remove unification changes, and fix bug with let rec Restore unification for shapes Improve error reporting while debugging All examples type check All examples type check WIP First version that works with hints, needs clean up Remove dead code Tweaks Remove type hint Remove unecessary type hint stuff Remove more type hints Clean up Expose Any expression node Address CR Fix Fix solver Kill unecessary code Fix PyLint Fix Relocate loops Fix license and test Lint again Lint again Fix loops Fix docstring Fix template error Fix compiler issue Fix compile err Remove more runtime changes Restore buffer Fix segfault Fix Fix arange * Address feedback * Fix typo * Fix arange * Fix op level3 * Fix issue with Python wrapper
Jared Roesch committed
-
- 06 Jul, 2019 1 commit
-
-
* [relay][frontend] Return Module from get_workload * pass entry_func to autotvm * disable tune * add property to module * mod.entry_func to main * .main -> mod["main"] * fix
Zhi committed
-
- 02 Jul, 2019 1 commit
-
-
Zhi committed
-
- 28 Jun, 2019 1 commit
-
-
雾雨魔理沙 committed
-
- 11 Jun, 2019 1 commit
-
-
hlu1 committed
-
- 08 Apr, 2019 1 commit
-
-
* [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
-
- 02 Apr, 2019 1 commit
-
-
* gather_nd added * gather_nd test added * more test added * fix lint * fix build error * fix lint * comments addressed
Leyuan Wang committed
-
- 01 Apr, 2019 1 commit
-
-
* Update take * Add special case for canonical simplify and fix test cases * Use lower case for wrap and clip * remove unnecssary lower * Fix mxnet converter for take * fix
Haichen Shen committed
-
- 14 Mar, 2019 2 commits
-
-
Leyuan Wang committed
-
Ashutosh Parkhi committed
-
- 13 Mar, 2019 1 commit
-
-
* start adding reverse * reverse updated * reverse uses topi::flip * typo fixed * comment addressed * exp simplified
Leyuan Wang committed
-
- 23 Feb, 2019 1 commit
-
-
* Add arange op * Update docs * Fix bug * add sanity check in relay and mxnet frontend mapping * lint * nits * pylint * don't allow empty output from arange * Remove empty test for arange * Fix bug and update doc
Haichen Shen committed
-
- 04 Feb, 2019 1 commit
-
-
* Enable reverse in reshape * Fix lint and typo * Put reverse_reshape into a separate op * Fix pylint
Haichen Shen committed
-
- 29 Dec, 2018 1 commit
-
-
Tianqi Chen committed
-
- 26 Dec, 2018 1 commit
-
-
* Add cast op * Rename dtype_cast to cast * Add additional safety check for String2TVMType * Add missing relay op docs
Haichen Shen committed
-
- 02 Dec, 2018 1 commit
-
-
Siva committed
-
- 27 Nov, 2018 1 commit
-
-
Siju committed
-
- 26 Nov, 2018 1 commit
-
-
Siju committed
-
- 25 Nov, 2018 3 commits
-
-
Tianqi Chen committed
-
Siju committed
-
Steven S. Lyubomirsky committed
-
- 21 Nov, 2018 1 commit
-
-
Steven S. Lyubomirsky committed
-
- 19 Nov, 2018 1 commit
-
-
Siju committed
-
- 05 Nov, 2018 1 commit
-
-
Jared Roesch committed
-
- 29 Oct, 2018 1 commit
-
-
Siju committed
-
- 28 Oct, 2018 1 commit
-
-
* [RELAY][PASS] FoldScaleAxis Forward * Introduce helper function type_as * Update per review comment * Fix according to comments
Tianqi Chen committed
-
- 27 Oct, 2018 1 commit
-
-
Siju committed
-
- 26 Oct, 2018 1 commit
-
-
Siva committed
-
- 24 Oct, 2018 1 commit
-
-
* [RELAY] BiasAdd, MLP, Resnet testing * fix review comments
Tianqi Chen committed
-
- 20 Oct, 2018 1 commit
-
-
Tianqi Chen committed
-
- 17 Oct, 2018 1 commit
-
-
Siju committed
-
- 15 Oct, 2018 2 commits
-
-
雾雨魔理沙 committed
-
Tianqi Chen committed
-
- 13 Oct, 2018 1 commit
-
-
雾雨魔理沙 committed
-
- 11 Oct, 2018 1 commit
-
-
Steven S. Lyubomirsky committed
-