- 22 Aug, 2019 1 commit
-
-
* 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
-
- 13 Aug, 2019 1 commit
-
-
Zhi 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
-
- 19 Jul, 2019 1 commit
-
-
Yong Wu committed
-
- 02 Jul, 2019 1 commit
-
-
Zhi committed
-
- 28 Jun, 2019 1 commit
-
-
* 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
-
- 04 Jun, 2019 1 commit
-
-
* init impl for topk * Fix cpu for topk * init cuda impl for topk * Add cuda for topk * fix * Add doc * update doc * lint * lint * lint * x * fix warning * [Relay] Add TopK in tf converter * Add frontend converter * fix
Haichen Shen committed
-
- 24 May, 2019 1 commit
-
-
Zhi committed
-
- 21 May, 2019 1 commit
-
-
Logan Weber committed
-
- 20 May, 2019 1 commit
-
-
* [Relay][TOPI] operator All * Update tests/python/frontend/tensorflow/test_forward.py Co-Authored-By: yongwww <55wuyong@163.com> * fix comments * change to level 4
Yong Wu committed
-
- 09 May, 2019 1 commit
-
-
* 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
-
- 25 Apr, 2019 1 commit
-
-
Hiroyuki Makino 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
-
- 19 Mar, 2019 1 commit
-
-
Tianqi Chen committed
-
- 14 Mar, 2019 1 commit
-
-
Ashutosh Parkhi committed
-
- 13 Mar, 2019 1 commit
-
-
* Add shapeof op in topi * Add relay shape_of op * Add constant folding for shape_of * Allow shape op to specify dtype * Add mxnet converter for shape_array * lint * lint * Add doc
Haichen Shen committed
-
- 11 Mar, 2019 2 commits
-
-
* tile and repeat operator added in rely * fix pylint * fix make warnings * comments addressed * fix lint error * comment addressed
Leyuan Wang committed -
Yong Wu committed
-
- 06 Mar, 2019 1 commit
-
-
* add stack op frontend * concate moved * topi stack added * stack added * fix stack bugs and tested * conv2d alterlayout udpated for relay * fix pylint * fix cmake warnings * cmake warnings fixed
Leyuan Wang committed
-
- 03 Mar, 2019 1 commit
-
-
Ashutosh Parkhi committed
-
- 01 Mar, 2019 1 commit
-
-
* 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
-
- 28 Feb, 2019 1 commit
-
-
* 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
-
- 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
-
- 17 Jan, 2019 1 commit
-
-
Liangfu Chen committed
-
- 14 Jan, 2019 1 commit
-
-
* Add GEMM autotvm template for x86 * Fix tophub link * Disable RPC server logging file delete * Update dense autotvm template * Fix tests * Fix lint * tweak * Register two templates with different tags
Haichen Shen committed
-
- 11 Jan, 2019 1 commit
-
-
Tianqi Chen committed
-
- 02 Dec, 2018 1 commit
-
-
Jared Roesch committed
-
- 31 Oct, 2018 1 commit
-
-
Haichen Shen committed
-
- 11 Oct, 2018 1 commit
-
-
Pariksheet Pinjari committed
-
- 18 Sep, 2018 1 commit
-
-
* Add mean and product operators * Fix typo * Fix lint * fix test * Fix gpu schedule * Update doc * remove mean from topi * Add nnvm test * Fix cuda schedule * Remove cuda schedule
yuruofeifei committed
-
- 29 Aug, 2018 1 commit
-
-
Lianmin Zheng committed
-
- 23 Aug, 2018 1 commit
-
-
* [NNVM][TEST] Numerical gradient testing * [NNVM][TEST] Make some tests a little faster * Fix the failing test_top_level3 * Target exclusion for the check_function * Try to ignore singularities * grad_input_vars now can't contain shapes * Don't pass unnecessary grad_input_vars to check_function * Multiple outputs; fixes; testing of check_function * Use numerical_grads_params to pass parameters to numgrad checker * Fail when no action is requested excplicitly * Pass additional params to functions * Silence the linter issue * Simplified numgrad checking * Improved docs for check_function * Fixed the error message when no dtype is provided * Several fixes * Tests with shape/dtype inference for inputs * Don't check dense's grads on cuda * Raise an error if output dtypes haven't been inferred * Moved shape/dtype inference into a separate function; use float32 as fallback * Remove redundant dtype=float32 * Fix multiple outputs * Use check_function in the rest of the test_top_level1
Sergei Grechanik committed
-
- 20 Aug, 2018 1 commit
-
-
* [VERSION] Update to 0.5.dev * Update the docs to include all intrins
Tianqi Chen committed
-
- 03 Aug, 2018 1 commit
-
-
Lianmin Zheng committed
-
- 02 Aug, 2018 1 commit
-
-
Lianmin Zheng committed
-
- 25 Jul, 2018 1 commit
-
-
Tianqi Chen committed
-
- 13 Jul, 2018 1 commit
-
-
Pariksheet Pinjari committed
-
- 12 Jul, 2018 2 commits
-
-
Lianmin Zheng committed
-
tqchen committed
-
- 09 Jul, 2018 1 commit
-
-
Tianqi Chen committed
-