Commit Graph

595 Commits

Author SHA1 Message Date
Zhi 09236bf648 [relay][pass] Annotation for heterogeneous compilation (#2361) 2019-01-11 15:31:14 -08:00
Joshua Z. Zhang 30a5a6007d [RELAY][FRONTEND]Onnx to relay frontend (#2302) 2019-01-11 14:36:52 -08:00
Haichen Shen 312802f341 Add simplify pass in the Relay interpreter (#2417) 2019-01-11 13:57:00 -08:00
Tianqi Chen 9d20fa1b98 [PASS][TENSOR] Use correct select semantics (#2394) 2019-01-11 10:19:09 -08:00
Jian Weng 98e761f8b3 allow const_range allocation; preprove if-then-else (#2419) 2019-01-11 10:18:38 -08:00
Jared Roesch 94cc89dab0 Add support for passing arguments by args and kwargs when using executor (#2402)
* Add support for passing arguments by args and kwargs when using executor

* Fix linting

* Update comment, and add arity checking

* Small tweak to error message
2019-01-09 15:02:48 -08:00
Tianqi Chen 794bf7fe6e Fix Web Build after CMake transition. (#2407) 2019-01-09 12:19:53 -08:00
Denis Khalikov a12c556a08 [RUNTIME][TRACE] Support trace primitive. (#1973)
Add trace call expr to allow trace Tensor data
at the runtime. By default the default handler
is enabled which prints a tracing data to stdout,
otherwise user should specify a call_back as
global_function (aka @tvm.register_func).

The issue is related to:
https://discuss.tvm.ai/t/idea-trace-expression/945
2019-01-07 22:44:27 -08:00
Zhi 851d8da714 Remove redundant FoldConstant pass (#2387) 2019-01-07 21:10:04 -08:00
Li-Wen Chang b3375702d3 Add functionality to optionally disable Select rewriting (#2385) 2019-01-07 18:59:24 -08:00
Lianmin Zheng 426e3bb0a8 [RELAY] Port winograd ops to relay (#2356) 2019-01-07 08:46:34 -08:00
Yuwei Hu 3d83156c75 [Relay][Keras] force const dtype to be float32 (#2376)
* [Relay][Keras] force const dtype to be float32

* fix pylint
2019-01-06 10:03:41 -08:00
Yuwei Hu a7d39d7b02 [Relay][Frontend] Keras Support (#2336) 2019-01-05 10:15:30 -08:00
Wuwei Lin 6e5c65ac87 Remove duplicated functions in relay_integration (#2370) 2019-01-04 09:54:34 -08:00
Jian Weng a42d1e3c77 [Hybrid Script] Unify the symbol tables to one; support tvm.container.Array (#2366) 2019-01-04 09:54:03 -08:00
Haichen Shen 151f550b2e Fix typos (#2367) 2019-01-03 14:04:03 -08:00
Lianmin Zheng b11884858f [RUNTIME] Add min_repeat_ms to time_evaluator (#2200) 2019-01-01 10:59:56 -08:00
Tianqi Chen 6d1f4c0b5c [RELAY][EXPR] Make const numpy consistent (#2349) 2018-12-28 20:11:56 -08:00
Haichen Shen 0e8d8fdd1b [Relay][OP] Add cast op (#2319)
* Add cast op
* Rename dtype_cast to cast
* Add additional safety check for String2TVMType
* Add missing relay op docs
2018-12-26 15:57:07 -08:00
Jared Roesch 00e6108eac Add a the ability to trigger debugging in the interpreter without recompiling (#2219) 2018-12-25 10:32:51 -08:00
Zhi 993fe12f2b [relay][frontend] Enable ssd test by attaching schedules to multibox and ssd ops (#2322)
* add ssd ops to mxnet.py

* add ssd ops to mxnet.py

* add result check for multibox and nms unit tests

* add result check for multibox and nms unit tests

* address @kevinthesun's comments

* Disable cuda test for nms for now.
2018-12-24 22:46:22 -08:00
eqy a0062582c5 [RELAY][AUTOTVM] Extract tuning tasks from Relay programs (#2181) 2018-12-24 11:28:36 -08:00
Wuwei Lin dc8fd79c43 [RELAY] Add missing arg in vgg (#2329) 2018-12-24 11:16:32 -08:00
masahi 1b2e553b1b [ROCM] Make sure all bit code files exist (#2323) 2018-12-24 11:05:29 -08:00
Jared Roesch 395804e524 Small refactors and bug fixes. (#2281) 2018-12-22 09:42:48 -08:00
Zhi d9a9a8b602 [relay][op] multibox_transform_loc (#2315) 2018-12-20 13:58:15 -08:00
Sergei Grechanik 10b6e7e05d [TVM] Move check_numerical_grads to tvm.testing_ (#2314) 2018-12-20 10:41:30 -08:00
Jian Weng 838e7181dd [Hybrid Script] Inter-function call supported! (#2287) 2018-12-19 15:20:34 -08:00
Zhi e9e12f0336 [Relay][doc] Update the description of returns in mxnet.py (#2309) 2018-12-18 12:26:19 -08:00
Jared Roesch 2a96704454 [RELAY] Add broadcast_to operator (#2276) 2018-12-17 16:18:43 -08:00
Lianmin Zheng 43433fa109 [RELAY] Fix alter_op_layout (#2289) 2018-12-14 10:00:46 -08:00
Jian Weng 4bbf96e43c [BUGFIX] [Hybrid Script] fix in-correct value index in hybrid script (#2268) 2018-12-13 10:21:36 -08:00
Liang ZOU 6b4058240b typo: Xlinx => Xilinx (#2283)
typo: Xlinx => Xilinx
2018-12-13 10:18:55 -08:00
Wuwei Lin 01cfdb7ebc [AUTOTVM] Use range in AnnotateSpace to fix JSON serialization (#2278) 2018-12-12 13:42:49 -08:00
Liangfu Chen aa1310d1d9 Fix a issue when running with graph_runtime_debug in python (#2271)
* fix a issue when running with graph_runtime_debug in python;

* add support to `debug_get_output` in python;

* comply with the linter;
2018-12-11 21:54:39 -08:00
Ruslan Baratov bc1d9b62c9 Fix misprint (#2272) 2018-12-11 09:42:21 -08:00
Jian Weng d8bd476269 [Hybrid Script] Support logical and/or; support 0 < a < 5 clause (#2264) 2018-12-10 20:35:31 -08:00
Jian Weng 3b3b8cbe99 allows constant param in op construct (#2257) 2018-12-07 23:32:39 -05:00
Sergey Mironov d50f7b6647 Fix missing sigmoid intrinsic in C++ (#2231) 2018-12-07 09:43:28 -05:00
Liang ZOU 9c1195eb22 [typo] fucn => func (#2240) 2018-12-06 11:16:35 -05:00
xqdan 25a7b46c83 fix dump ir (#2235) 2018-12-05 22:41:53 -05:00
hlu1 f467377f56 [contrib][nnpack] remove training-optimized ops (#2224) 2018-12-05 21:28:18 -05:00
Denis Khalikov 9a00b7b897 [TOPHUB] Set vulkan as alias for opencl (#2230) 2018-12-05 02:00:52 -08:00
Wuwei Lin 93949456ee [RELAY][PASS] Check Positiveness in FoldScaleAxis (#2220) 2018-12-04 15:58:16 -05:00
Zhebin Jin 166936cd38 [DEBUG]Fix debugger message mess in display_debug_result (#2228)
Signed-off-by: Zhebin Jin <zhebin.jzb@alibaba-inc.com>
2018-12-04 15:57:07 -05:00
Jared Roesch 58398d3862 Port from_nnvm to NNVM as to_relay (#2144) 2018-12-04 15:54:01 -05:00
Josh Pollock d3bc59d20b [Relay][RFC] Relay IR Text Format (#1781) 2018-12-02 10:35:01 -08:00
Siva eb6d64f1b8 [RELAY] bugfix. (#2215) 2018-12-01 22:39:57 -08:00
Jared Roesch 20afa0a535 [DOC][Relay]: Add API docs for Relay. (#1750) 2018-12-01 22:27:49 -08:00
Siva cb06a184f4 [RELAY][OP] end to end support for pad op. (#2213) 2018-12-01 22:26:38 -08:00