Граф коммитов

612 Коммитов

Автор SHA1 Сообщение Дата
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
lihaozhehw bd44fe03ec Python security issue about mktemp() and abspath() (#2202) 2018-11-30 16:05:31 -08:00
Siju 94acff30e8 added int type axis for relay reduce ops (#2199) 2018-11-30 09:11:53 -08:00
Denis Khalikov 2f1d709f9c [PASS] InstrumentBoundCheckers pass (#2079)
The pass which instruments checkers before
memory accesses (load/store).
This allows to handle invalid memory accesses.

The patch is related to issue:
https://discuss.tvm.ai/t/array-bounds-checking/944
2018-11-29 18:31:59 -08:00
Lianmin Zheng 2a5656bf80
[Relay] Alter Op Layout (#2150)
* [RELAY] Finish alter op pass

* [RELAY] AlterOpLayout Pass

* fix broadcast operators

* fix broadcast operators

* fix broadcast operators

* Support concatenate

* address comments

* address comments

* add comments

* rebase
2018-11-29 17:11:15 -08:00
Pratyush Patel 4bf1fd8c44 fix llvm dependency bug (#2198) 2018-11-29 13:17:32 -08:00
Wuwei Lin 71341451db Fix logging in autotvm record (#2195) 2018-11-29 10:32:36 -08:00
Siju 3b91ae28e9 [RELAY]missing schedules updated (#2196) 2018-11-29 10:07:19 -08:00
Siju 8fe38eef59 [Relay]collapse_sum and broadcast_to compute & schedule (#2180) 2018-11-29 10:06:29 -08:00
Liang ZOU 10476a730f Update comments for the API tvm.lower (#2193)
tvm.Schedule ==> tvm.schedule.Schedule
2018-11-29 10:01:02 -08:00
Pratyush Patel a259b737f5 [BACKEND][CODEGEN] C codegen with tests (#2161)
* Implement C code generation with tests

* Code cleanup

* Implement C code generation with tests

* Code cleanup

* tabs to spaces

* make lint compliant

* update export_library and reserve unique C keywords

* move ReserveKeywordsAsUnique to codegen_c

* some documentation and code cleanup

* use tvm.contrib.util for tempdir in testcases
2018-11-28 13:32:31 -05:00
Siju b871500834 [Relay]where compute and schedule (#2179) 2018-11-28 09:57:40 -08:00
Siju 55599b937b [Relay]resize op compute and schedule (#2172) 2018-11-27 17:49:02 -08:00
Tianqi Chen 7af48f1aa2
[RELAY][IR] Introduce IdNode to preserve var id across rewriting (#2178) 2018-11-26 23:07:37 -08:00
Siju 246a38a1db [RELAY]full, full_like compute and schedule (#2170) 2018-11-26 22:10:31 -08:00
Wuwei Lin 7880b50c7a [Relay][Pass] Fix CombineParallelConv2D (#2167) 2018-11-26 16:26:55 -08:00
Steven S. Lyubomirsky db74c997ea [Relay] Densenet benchmark (#2154)
* Port densenet to Relay

* Invoke densenet test in __main()__

* Even the spacing in the IR text format tests

* Forgot to import densenet in init

* Correct reference to densenet in test
2018-11-26 14:11:19 -08:00
Siju fe0eac9431 [RELAY]take and transpose comp and schd (#2135) 2018-11-26 10:47:08 -08:00
masahi bcacb764c9 [Relay] Register compute and schedule for upsampling, with miscellaneous fixes (#2171) 2018-11-26 10:45:08 -08:00
Tianqi Chen a3530f8fa2
[RELAY] Add multiref trigger to ForwardRewrite (#2168) 2018-11-26 10:44:49 -08:00
ziheng 0a1f3d41c9 [PASS] PostOrderVisit (#2169) 2018-11-26 10:25:17 -08:00
Siju b5e0d79060 [RELAY]sch and compute for reduce ops (#2091) 2018-11-25 22:11:33 -08:00
Tianqi Chen b903834328
[RELAY][OP] Move computes to cxx, enable concat as injective (#2166) 2018-11-25 18:27:29 -08:00
kice 27cb4fc665 Fix str decoding error on non-English Windows (#2158) 2018-11-25 14:39:26 -08:00
Tianqi Chen d4f8d20e20
[RELAY][FRONTEND] Initial MXNet frontend support. (#2163) 2018-11-25 12:54:03 -08:00
Siju 0cf3ddf7fc Relay reshape reshape_like compute and schedule (#2159) 2018-11-25 09:01:44 -08:00
Steven S. Lyubomirsky 9473dca266 [Relay][Op] Add compute, schedule, and tests for expand_dims and squeeze (#2133) 2018-11-24 19:33:14 -08:00
Siju b1cf70a885 [RELAY]Testing Inception, Squeezenet, VGG port (#2013) 2018-11-24 14:44:41 -08:00
Wuwei Lin 53ac89ede7 [RELAY][PASS] CombineParallelConv2D (#2089) 2018-11-22 10:41:40 -08:00
Steven S. Lyubomirsky 58fa05312e Reverse shape dims of weight type (#2155) 2018-11-21 16:17:33 -08:00
Steven S. Lyubomirsky 34648272bb [Relay] Port LSTM to Relay for testing (#2011) 2018-11-21 14:11:33 -08:00
Josh Pollock 11f897ac2f fix dcgan layer naming overlap (#2145) 2018-11-20 22:50:37 -08:00
Siju 2849930465 [RELAY]Slice_like support (#2014) 2018-11-20 09:20:09 -08:00
Steven S. Lyubomirsky 401ffe131e [Relay][Op] Add test for batch_flatten (#2134)
* Add tests for batch_flatten and softmax

* Softmax is already tested elsewhere
2018-11-19 21:35:21 -08:00
Tianqi Chen c113712db7
[RELAY][BACKEND] Enable PlanMemory in the graph runtime. (#2120) 2018-11-19 14:59:41 -08:00
Siju 6edb3564a1 [RELAY]sch & comp for ops in nn.py (#2092) 2018-11-19 12:37:46 -08:00
eqy 7761416f00 [WIP] [RPC] clean up uploaded modules (#2121)
[RPC] clean up uploaded modules
2018-11-19 12:35:15 -08:00
Animesh Jain b71edd76bd Relay Op sprint (part 2) - Level 1 - log_softmax (#2128) 2018-11-19 11:23:37 -08:00
Jian Weng 7a01476a3b [HYBRID FRONTEND] Modify hybrid script to new interface; hybrid op supported; enable compilation_database in CMakeList.txt (#1757) 2018-11-18 22:52:17 -08:00
Lianmin Zheng 79735eb2e6 [TOPHUB] fix x86 backend after introducing dilation (#2129) 2018-11-18 17:37:04 -08:00
Yizhi Liu cb8a70f41f [Relay] compute & schedule for relu, softmax (#2127) 2018-11-18 08:55:15 -08:00
Andrew Tulloch 69ad6aed82 [NNPACK] Add check for NNPACK being available (`nnp_initialize()` succeeding) (#2119)
This fixes issues with failing tests on PowerPC.
2018-11-15 14:01:36 -08:00
Tianqi Chen b252160451
[RELAY][PASS] Bind, FoldConstant (#2100) 2018-11-14 08:56:40 -08:00
Yao Wang 313e1d99a8 [Relay][OP]NMS (#1929) 2018-11-13 14:57:16 -08:00
Tianqi Chen 1f2c815671
[RELAY][OP] strided_slice (#2094) 2018-11-13 13:32:38 -08:00
Tianqi Chen 4369b7f6a8
[RELAY][PASS] General OpFusion. (#2090) 2018-11-13 13:31:45 -08:00
Wuwei Lin 5c410c4c31 [TOPI][CUDA] int8 group conv2d (#2075) 2018-11-10 08:52:22 -08:00
Andrew Tulloch fc83c7f26d [TVM] [NNPACK] Modernize and improve NNPACK bindings (#2084) 2018-11-09 18:00:26 -08:00
Tianqi Chen 9f441d817c
[RELAY] CompileEngine update, nn conv2d, fix dense, pool. (#2082) 2018-11-09 14:25:53 -08:00
Wuwei Lin c294dd5d73 Allow to use negative index of array in python (#2069)
* Allow to use negative index of array in python

* Support negative index in array slice

* Print index and array size in IndexError

* Fix style
2018-11-06 10:42:21 -08:00
Tianqi Chen c91ded3267
[RELAY][BACKEND] CompileEngine refactor. (#2059) 2018-11-04 22:02:27 -08:00
Jared Roesch 4e77eeb22f [RELAY][RUNTIME] Add compute and schedule attributes for all ops in relay/op/tensor.py (#2050) 2018-11-04 17:46:21 -08:00
Jared Roesch ead3ac6c23 Rename relay::Environment to relay::Module (#2054) 2018-11-02 14:27:34 -07:00
Jared Roesch c48812dd38 [RELAY][RUNTIME] Refactor interpreter and graph_runtime into consistent interface. (#2042) 2018-10-31 19:41:47 -07:00
Wuwei Lin 2005f85237 [TOPI] Add dilation argument to conv2d and depthwise_conv2d (#1970) 2018-10-31 15:12:44 -07:00
eqy 7a3e389bd5 [RELAY] MobileNet (#1997) 2018-10-31 10:51:19 -07:00
ziheng dd9d76acf4 [RELAY/PASS] Simplify inference. (#2033) 2018-10-31 09:51:54 -07:00
Lianmin Zheng f2d7787e57 [AUTOTVM] Misc fix to document and style (#2035) 2018-10-30 19:20:53 -07:00
Jared Roesch 10ea05e645 [RELAY][RUNTIME] Add Relay interpreter and compiler for TVM runtime system. (#1954) 2018-10-30 15:29:36 -07:00
Tianqi Chen d5103bbcdf
[RELAY][PASS] FoldScaleAxis Backward (#2024) 2018-10-29 19:43:37 -07:00
Yizhi Liu b9e8826f82 Refine porting x86 NCHWc conv to AutoTVM (#1993) 2018-10-29 14:36:44 -07:00
Siju e286e6378b [RELAY]prelu op support (#2016) 2018-10-29 14:15:37 -07:00
Josh Pollock 2fb1cc6eb5 [Relay] DCGAN port (#2010) 2018-10-29 14:10:06 -07:00
Josh Pollock ed1718b631 [Relay] DQN Port (#2009) 2018-10-28 20:56:58 -07:00
xqdan 32f158e6c2 [intrin]support fmod for cuda (#1964) 2018-10-28 18:37:05 -07:00
Tianqi Chen 05ea6018e5 [RELAY][PASS] FoldScaleAxis Forward (#2020)
* [RELAY][PASS] FoldScaleAxis Forward

* Introduce helper function type_as

* Update per review comment

* Fix according to comments
2018-10-28 15:59:26 -07:00
Siju 62a94c7683 [RELAY]reshape_like (#1950) 2018-10-26 20:14:15 -07:00
Siva e6e9b37170 [RELAY][OP] Split (#1876) 2018-10-26 12:15:16 -07:00
eqy 44df04a1ef fix typo in resnet definition (#1995) 2018-10-25 18:30:23 -07:00
Jared Roesch 0f7aa30b7b [RELAY] Add structural hashing for Relay (#1977) 2018-10-25 14:33:21 -07:00
Tianqi Chen c76fce9fd9
[RELAY] BiasAdd, MLP, Resnet testing (#1969)
* [RELAY] BiasAdd, MLP, Resnet testing

* fix review comments
2018-10-24 13:51:12 -07:00
雾雨魔理沙 399b39f175 fix pydoc format (#1975) 2018-10-24 11:44:18 -07:00
Steven S. Lyubomirsky 3a1bb8c7d4 [Relay] Serialization round-trip tests (#1968) 2018-10-23 18:38:41 -07:00
Lianmin Zheng 390acc52a1 [AUTOTVM] Fix measurement for CPU (#1956) 2018-10-22 21:55:31 -07:00
Yao Wang e61659a959 Add tophub for x86 (#1955) 2018-10-22 21:55:16 -07:00
雾雨魔理沙 c2b3615477 [Relay][Op]BroadcastToLike CollapseSumLike (#1886) 2018-10-22 09:31:59 -07:00
雾雨魔理沙 c51268c3ee [Relay] fix doc in ty.py (#1949) 2018-10-21 17:33:29 -07:00
雾雨魔理沙 af1fcf9743 [Relay] fix format in ty.py (#1948) 2018-10-21 10:30:04 -07:00
Siju 02a8be10a0 [RELAY]Reduce ops sum/max/min/mean/prod (#1927) 2018-10-21 09:46:32 -07:00
Sergey Mironov 39c8bc2a3d [TOPI] Specify non-zero absolute tolerance in tests (#1925) 2018-10-20 22:06:45 -07:00
Alexander Pivovarov a22a057fb5 Fix typo in module.py line 90 (#1947) 2018-10-20 21:53:41 -07:00
Tianqi Chen 8876eac8af
[RELAY] IR builder stablize refactor, clean pass (#1934) 2018-10-19 21:56:09 -07:00
Tianqi Chen 9d44279eb9
[RELAY][Refactor] TextPrinter, move ret_type after body in Function. (#1918) 2018-10-18 13:06:48 -07:00
Siju 4001569e5e [RELAY][OP]Reduction operator framework, argmax, argmin (#1865) 2018-10-18 08:53:51 -07:00