platform/upstream/tvm.git
5 years agoFix a bug of flatten in ONNX to Relay converter (#3180)
Oldpan [Mon, 13 May 2019 18:03:41 +0000 (02:03 +0800)]
Fix a bug of flatten in ONNX to Relay converter (#3180)

* fix onnx frontend flatten bug

* Update onnx.py

* Update onnx.py

* Update onnx.py

5 years ago[GOLANG] Some fixes for golang latest version compiler. #3119 (#3182)
Siva [Mon, 13 May 2019 17:03:32 +0000 (22:33 +0530)]
[GOLANG] Some fixes for golang latest version compiler. #3119 (#3182)

5 years ago[Relay][Runtime] Add VM compiler. (#3139)
Jared Roesch [Sat, 11 May 2019 22:08:13 +0000 (18:08 -0400)]
[Relay][Runtime] Add VM compiler.  (#3139)

* Implement the VM compiler

* Fix issues

* Fix ASF headers

* Fix test issue

* Apply typo fixes.

* Update src/relay/backend/vm/compiler.cc

Co-Authored-By: 雾雨魔理沙 <lolisa@marisa.moe>
* Refactor compiler

* Fix

* Fix

* Fix in benchmark

* Fix

* Address comments

5 years ago[Bugfix] Check file exists before removing it (#3178)
hlu1 [Sat, 11 May 2019 05:55:11 +0000 (22:55 -0700)]
[Bugfix] Check file exists before removing it (#3178)

5 years ago[Relay][TensorFlow] Support tf.math.reduce_prod (#3166)
lixiaoquan [Sat, 11 May 2019 04:56:01 +0000 (12:56 +0800)]
[Relay][TensorFlow] Support tf.math.reduce_prod (#3166)

5 years agoRegister all operators' Python attributes in Python so they can be easily accessed...
Steven S. Lyubomirsky [Sat, 11 May 2019 00:25:54 +0000 (17:25 -0700)]
Register all operators' Python attributes in Python so they can be easily accessed from Python code (#3175)

5 years ago[HybridScript] Capture constant external python variables (#3157)
Lianmin Zheng [Fri, 10 May 2019 23:36:54 +0000 (07:36 +0800)]
[HybridScript] Capture constant external python variables (#3157)

5 years agoFix a tensorflow test bug. (#3165)
lixiaoquan [Fri, 10 May 2019 17:14:39 +0000 (01:14 +0800)]
Fix a tensorflow test bug. (#3165)

Length of input_shape isn't always 4.

5 years ago[codegen] heterogeneous build for c++ (#3144)
Zhi [Fri, 10 May 2019 04:29:16 +0000 (21:29 -0700)]
[codegen] heterogeneous build for c++ (#3144)

* heterogeneous build for c++

* merge relay buildmodule to codegen build

* use module split

* use target_host

* remove sse3

* retrigger ci

5 years agoFix a multithreaded bug in llvm LazyInitJIT (#3158)
Yinghai Lu [Thu, 9 May 2019 15:46:10 +0000 (08:46 -0700)]
Fix a multithreaded bug in llvm LazyInitJIT (#3158)

5 years agoadd more syncs (#3151)
Leyuan Wang [Thu, 9 May 2019 15:44:47 +0000 (08:44 -0700)]
add more syncs (#3151)

5 years ago[Relay][Runtime] Implementation of Relay VM (#2889)
Jared Roesch [Thu, 9 May 2019 06:09:15 +0000 (02:09 -0400)]
[Relay][Runtime] Implementation of Relay VM (#2889)

* Implement the virtual machine

Co-Authored-By: wweic <ipondering.weic@gmail.com>
* Fix rebase build issues

* Reorganize vm.py and fix allocator bug

* Remove compiler

* Remove tests

* Remove backend/vm/vm.cc too

* Fix docs

* Fix doc

* Fix doc

* Add vm docs

* Remove change to dead_code.cc

* Remove Relay logging

* Remove reduce

* Update include/tvm/runtime/vm.h

Co-Authored-By: jroesch <roeschinc@gmail.com>
* Reformat

* Update include/tvm/runtime/vm.h

Co-Authored-By: jroesch <roeschinc@gmail.com>
* Address feedback

* Update include/tvm/runtime/vm.h

Co-Authored-By: jroesch <roeschinc@gmail.com>
* Apply suggestions from code review

Co-Authored-By: jroesch <roeschinc@gmail.com>
* Fix a couple outstanding comments

* Last couple comments

* Update include/tvm/runtime/vm.h

Co-Authored-By: jroesch <roeschinc@gmail.com>
* Address code review feedback

* Fix final comment

* Address comments

* Error reporting and example

* add Const

* Explicitly delete copy assignment operator

* Fix rebase

* Pass 3rd arg to fusion

5 years ago[BuildModule] Fix AlterLayout Pass (#3155)
Bing Xu [Thu, 9 May 2019 04:06:33 +0000 (21:06 -0700)]
[BuildModule] Fix AlterLayout Pass (#3155)

5 years ago[Relay][Op] Adaptive pooling (#3085)
Yao Wang [Thu, 9 May 2019 00:21:41 +0000 (17:21 -0700)]
[Relay][Op] Adaptive pooling (#3085)

* 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

5 years ago[RFC] [VTA] [TSIM] Enabling Cycle-Accurate Hardware Simulation for VTA #3009 (#3010)
Luis Vega [Wed, 8 May 2019 16:59:00 +0000 (09:59 -0700)]
[RFC] [VTA] [TSIM] Enabling Cycle-Accurate Hardware Simulation for VTA #3009 (#3010)

* merge files

* move verilator to the right place

* change name to tsim

* add default rule to be build and run

* add README for tsim

* Update README.md

* add some structural feedback

* change name of VTASim to VTADPISim

* more renaming

* update comment

* add license

* fix indentation

* add switch for vta-tsim

* add more licenses

* update readme

* address some of the new feedback

* add some feedback from cpplint

* add one more whitespace

* pass pointer so linter is happy

* pass pointer so linter is happy

* README moved to vta documentation

* create types for dpi functions, so they can be handle easily

* fix pointer style

* add feedback from docs

* parametrize width data and pointers

* fix comments

* fix comment

* add comment to class

* add missing parameters

* move README back to tsim example

* add feedback

* add more comments and remove un-necessary argument in finish

* update comments

* fix cpplint

* fix doc

5 years agofix python lint warnings (#3145)
Zhi [Wed, 8 May 2019 15:23:10 +0000 (08:23 -0700)]
fix python lint warnings (#3145)

5 years ago[CI] Always run cpptest during build to ensure library correctness (#3147)
Tianqi Chen [Wed, 8 May 2019 15:14:08 +0000 (08:14 -0700)]
[CI] Always run cpptest during build to ensure library correctness (#3147)

5 years agoRelay C++ Build Module (#3082)
Bing Xu [Wed, 8 May 2019 07:16:15 +0000 (00:16 -0700)]
Relay C++ Build Module (#3082)

* [Relay] C++ Build module

* asdf

5 years ago[Bugfix][TOPI] conv2d_transpose bugfix (#3138)
Leyuan Wang [Wed, 8 May 2019 04:51:00 +0000 (21:51 -0700)]
[Bugfix][TOPI] conv2d_transpose bugfix (#3138)

* deconv tests

* deconv bug fixed for certain cases tests added

5 years ago[DOC] fix :code: markup syntax (#3140)
Marcus Shawcroft [Wed, 8 May 2019 04:50:44 +0000 (05:50 +0100)]
[DOC] fix :code: markup syntax (#3140)

5 years agoHandle vectorize for LE statement (#3137)
Wei Chen [Wed, 8 May 2019 03:52:24 +0000 (20:52 -0700)]
Handle vectorize for LE statement (#3137)

* Handle vectorize for LE statement

Fix a new cases introduced by commit 7afbca5691fdb599cd90b043d5a5036e55cae2d6

* Add test

5 years ago[ROCm] Fix dense autotvm template registration (#3136)
masahi [Sun, 5 May 2019 12:17:29 +0000 (21:17 +0900)]
[ROCm] Fix dense autotvm template registration (#3136)

* Fix rocm dense autotvm template

* suppres lint warning

5 years ago[Relay][Frontend] add log op in tf frontend (#3111)
Yong Wu [Sun, 5 May 2019 08:08:10 +0000 (01:08 -0700)]
[Relay][Frontend] add log op in tf frontend (#3111)

* [Relay][Frontend] add log op in tf frontend

* address comment

5 years ago[TOPI] Fix mali conv2d performance regression (#3131)
Lianmin Zheng [Sun, 5 May 2019 08:05:18 +0000 (16:05 +0800)]
[TOPI] Fix mali conv2d performance regression (#3131)

* [TOPI] fix mali conv

* fix typo

* address comments

5 years ago[ARITH] Constraint-aware ConstIntBound, Enhance CanonicalSimplify (#3132)
Tianqi Chen [Sat, 4 May 2019 01:07:14 +0000 (21:07 -0400)]
[ARITH] Constraint-aware ConstIntBound, Enhance CanonicalSimplify (#3132)

5 years ago[DOC] Developer documentation for InferBound pass. (#3126)
Jessica Davies [Fri, 3 May 2019 09:48:18 +0000 (11:48 +0200)]
[DOC] Developer documentation for InferBound pass. (#3126)

* Developer documentation for InferBound pass.

5 years ago[DOC] Various documentation improvements (#3133)
Marcus Shawcroft [Thu, 2 May 2019 16:11:37 +0000 (17:11 +0100)]
[DOC] Various documentation improvements (#3133)

5 years ago[Relay][Runtime] Add memory manager for NDArray (#3121)
Jared Roesch [Thu, 2 May 2019 16:10:34 +0000 (12:10 -0400)]
[Relay][Runtime] Add memory manager for NDArray (#3121)

* Add support for custom NDArray memory management

Credit to @icemelon9 and @wweic

* Fix copy-paste issue

* Fix naive allocator.h

* Remove buffer field

* Apply Wei's suggestions.

Co-Authored-By: jroesch <roeschinc@gmail.com>
* Fix Wei's suggestion

* Fix go rts

* Break MM dependency

* Add docs and clean up diff

* Add more docs

* Move to VM folder

* Fix lint

* Remove Go dep.

* Rename to Empty

* Address Haichen's comments

5 years agoAdd MXNet converter for RNN layer ops (#3125)
Haichen Shen [Thu, 2 May 2019 15:59:22 +0000 (08:59 -0700)]
Add MXNet converter for RNN layer ops (#3125)

5 years ago[LINT] Add more allowed file type
Tianqi Chen [Thu, 2 May 2019 15:52:13 +0000 (11:52 -0400)]
[LINT] Add more allowed file type

5 years ago[Relay][Runtime] Add support for virtual machine Objects (#3120)
Jared Roesch [Thu, 2 May 2019 13:54:52 +0000 (09:54 -0400)]
[Relay][Runtime] Add support for virtual machine Objects (#3120)

5 years agoUpdate CONTRIBUTORS.md (#3130)
Lianmin Zheng [Thu, 2 May 2019 04:30:28 +0000 (12:30 +0800)]
Update CONTRIBUTORS.md (#3130)

5 years ago[DOC] Add missing targets to target_name documentation. (#3128)
Marcus Shawcroft [Wed, 1 May 2019 21:13:36 +0000 (22:13 +0100)]
[DOC] Add missing targets to target_name documentation. (#3128)

5 years agoMinor addition to graph runtime debug (#3129)
Yida Wang [Wed, 1 May 2019 20:28:01 +0000 (13:28 -0700)]
Minor addition to graph runtime debug (#3129)

* print op names in graph runtime debug

* fix lint

5 years agoFix PRelu layout in Relay (#3013)
Zhao Wu [Wed, 1 May 2019 18:18:15 +0000 (02:18 +0800)]
Fix PRelu layout in Relay (#3013)

* Fix PRelu layout in Relay

* Fix cpplint

* Add PRelu test case

5 years ago[DOC] various assorted grammar fixes (#3127)
Marcus Shawcroft [Wed, 1 May 2019 16:05:18 +0000 (17:05 +0100)]
[DOC] various assorted grammar fixes (#3127)

* Correct spelling of 'inavlid'

* [DOC] correct spelling of 'schdule'.

* [DOC] clean up use of abbreviation "interop"

* [DOC] capitalize API abbreviation consistently

* [DOC] correct spelling of 'peformed'.

* [DOC] correct spelling of 'intermidiate'

* Remove trailing white space.

* Correct spelling of 'parametrization'.

* [DOC] minor improvements to Range documentation.

5 years ago[FRONTEND][TFLITE] Add FULLY_CONNECTED op into tflite frontend, support Inception...
songqun [Wed, 1 May 2019 15:03:52 +0000 (08:03 -0700)]
[FRONTEND][TFLITE] Add FULLY_CONNECTED op into tflite frontend, support Inception V4 (#3019)

* Add FULLY_CONNECTED op into tflite frontend, support Inception V4

* Fix comment style in TF Lite tests.

5 years ago[Relay][Tensorflow] Allow an op as loop var. (#3056)
lixiaoquan [Wed, 1 May 2019 15:02:12 +0000 (23:02 +0800)]
[Relay][Tensorflow] Allow an op as loop var. (#3056)

5 years ago[RELAY][FUSION] Enhance fusion rule that starts from elemwise and broadcast (#2932)
Zhi [Wed, 1 May 2019 03:42:27 +0000 (11:42 +0800)]
[RELAY][FUSION] Enhance fusion rule that starts from elemwise and broadcast (#2932)

* [relay][bugfix] fuse injective to elemwise and broadcast

* enhance fusion for prarllel injectiveOD

* check if tensor in schedule

* fix codegen

* fix lint

* update

* lint

5 years ago[Bugfix] Fix type code error for StringImm (#3050)
Haichen Shen [Wed, 1 May 2019 00:10:19 +0000 (17:10 -0700)]
[Bugfix] Fix type code error for StringImm (#3050)

5 years agoFixing a doc nit (#3123)
Rahul [Tue, 30 Apr 2019 22:43:46 +0000 (15:43 -0700)]
Fixing a doc nit (#3123)

URLs to the authors repo for these tutorials had an extra
`https://`, this patch removes that.

5 years agoFix bug in ONNX importer (#3084)
Jared Roesch [Mon, 29 Apr 2019 19:54:16 +0000 (12:54 -0700)]
Fix bug in ONNX importer (#3084)

5 years ago[Relay][TOPI] Gluncv SSD support on the GPU (#2784)
Leyuan Wang [Mon, 29 Apr 2019 03:47:21 +0000 (20:47 -0700)]
[Relay][TOPI] Gluncv SSD support on the GPU (#2784)

* ssd gluoncv gpu op updated

* ssd gluoncv gpu op updated

* tutorials and testes modified

* tutorials and testes modified

* fix lint

* fix lint

* address comment

* multibox bug fixed

* space line added

* use less threads per block

* use less threads per block

* less threads per block for get valid count

* less threads per block for get valid count

* merge with master

* Revert "less threads per block for get valid count"

This reverts commit 08896cfccc34b0b2a1646d01d01ea4cad73941c4.

* Revert "less threads per block for get valid count"

This reverts commit 08896cfccc34b0b2a1646d01d01ea4cad73941c4.

* typo fixed

* elem length made to a variable

* fix lint error

* fix lint error

* lint fixed

* bug fixed

* bug fixed

* lint fixed

* error fixed

* error fixed

* test ci

* test ci

* seperate argsort to be an independent op

* seperate argsort to be an independent op

* fix lint

* fix lint

* remove unsupported models

* typo fixed

* argsort added to realy

* solve conflicts with master

* fix lint

* fix lint

* test push

* Revert "test push"

This reverts commit 6db00883fab6cc06bddf564c926bb27c874397d8.

* fix lint error

* fix more lint

* cpu test_sort udpated

* debug ci

* nms fixed

* expose argsort to relay frontend

* test ci

* fix lint

* sort register error fixed

* fix nnvm

* nms type fixed

* adaptive pooling added to relay

* Revert "adaptive pooling added to relay"

This reverts commit 1119f1f2c055753e0cc5611627597749134c5c8c.

* fix lint

* expose argsort op

* fix lint

* fix lint

* fix lint

* sort test updated

* sort bug fixed

* nnvm error fixed

* fix argsort default data type returned to be float insteaf of int

* fix lint

* fix lint

* test fixed

* fix valid count

* fix titanx bug

* tutorial add both targets

* titanx error fixed

* try to fix CI old gpu error

* try to solve CI GPU error

* get_valid_count added

* reverse get_valid_count

* get valid count optimized

* address comments

* fix ci error

* remove unessesary block sync

* add back one sync

* address comments

* address more comments

* more comments

* move sort to be indepent algorithm

* typo fixed

* more typos

* comments addressed

* doc updated

* fix pylint

* address final comments

* apache license added

5 years ago[Lang] Fix undef BijectiveLayout and add scalar layout support (#3105)
Yizhi Liu [Mon, 29 Apr 2019 02:25:38 +0000 (19:25 -0700)]
[Lang] Fix undef BijectiveLayout and add scalar layout support (#3105)

5 years agoporting new upsample test case from nnvm to relay (#3115)
Gemfield [Mon, 29 Apr 2019 02:24:28 +0000 (10:24 +0800)]
porting new upsample test case from nnvm to relay (#3115)

5 years ago[Relay, OpFusion] Better tuple fusion implementation (#3092)
masahi [Mon, 29 Apr 2019 02:18:41 +0000 (11:18 +0900)]
[Relay, OpFusion] Better tuple fusion implementation  (#3092)

5 years ago[LINT] recover lint error, add asf header check (#3117)
Tianqi Chen [Sun, 28 Apr 2019 20:21:08 +0000 (13:21 -0700)]
[LINT] recover lint error, add asf header check (#3117)

5 years ago[CI] Add file type check (#3116)
Tianqi Chen [Sun, 28 Apr 2019 19:04:19 +0000 (12:04 -0700)]
[CI] Add file type check (#3116)

5 years ago[TOPI] Fix group_conv2d unit test (#3113)
Wuwei Lin [Sun, 28 Apr 2019 03:48:34 +0000 (11:48 +0800)]
[TOPI] Fix group_conv2d unit test (#3113)

5 years agofixed some typos (#3112)
MaxXing [Sun, 28 Apr 2019 03:20:38 +0000 (11:20 +0800)]
fixed some typos (#3112)

5 years agoCheck that the node is not null, add contains to OpMap (#3037)
Pedro Larroy [Sat, 27 Apr 2019 02:56:34 +0000 (19:56 -0700)]
Check that the node is not null, add contains to OpMap (#3037)

5 years ago[TOPI] Bitserial dense operators for CPU (#3051)
Meghan Cowan [Sat, 27 Apr 2019 02:55:22 +0000 (19:55 -0700)]
[TOPI] Bitserial dense operators for CPU (#3051)

5 years ago[ROCM] Fix conv2d (#3107)
Bing Xu [Sat, 27 Apr 2019 02:49:24 +0000 (19:49 -0700)]
[ROCM] Fix conv2d (#3107)

5 years agoFixed issue #3069 by checking op tag (#3070)
Ruizhe Zhao (Vincent) [Sat, 27 Apr 2019 02:15:21 +0000 (03:15 +0100)]
Fixed issue #3069 by checking op tag (#3070)

* Fixed issue #3069 by adding in_channels

* Registerd group_conv2d_nchw as topi compute

* Improved by checking tag value

* Removed group_conv2d_nchw topi registration

* Added test for relay group_conv2d_nchw

* Added assertions to forbid small group size

* Removed hard-coded oc_block_factor

* Added explanatory comments to group_conv2d_nchw_cuda

* Updated group_conv2d_nchw_cuda schedule

Removed 'direct' CUDA tests

* Reverted an accidental change in a conv2d test

* Fixed indentation problems

* Fixed a mis-commented line

* Reverted change in group_conv2d_nchw tag

* Removed commented int8 group_conv2d test

* Fixed group size assertions in group_conv2d_nchw_cuda

5 years ago1) fixed a functional bug in loop partitioning algorithm that is exposed when double...
Salem Derisavi [Fri, 26 Apr 2019 21:10:42 +0000 (17:10 -0400)]
1) fixed a functional bug in loop partitioning algorithm that is exposed when double splitting with indivisible factors 2) added a testcase (#2956)

5 years ago[TVM][ARITH] Teach BoundDeduce to handle the case in which target var can appear...
Salem Derisavi [Fri, 26 Apr 2019 16:49:29 +0000 (12:49 -0400)]
[TVM][ARITH] Teach BoundDeduce to handle the case in which target var can appear in rhs of expression (#2795)

* target variable can now appear in either lhs or rhs of the expression to be analyzed

* removed extra spaces

5 years ago[Relay, Quantization, TOPI] int8 dense on CUDA & Dense op quantization (#2877)
Wuwei Lin [Fri, 26 Apr 2019 16:41:54 +0000 (00:41 +0800)]
[Relay, Quantization, TOPI] int8 dense on CUDA & Dense op quantization  (#2877)

* Quantize dense layers

* Add out_dtype arggument to dense; Add dense_int8 on CUDA

* Add topi unittest of dense int8

* Fix relay

* Fix topi integration

* Fix quantization

* Update dense_rewrite

* Triger CI

* Change qconfig quantize_dense to quantize_op

* Fix

* Remove quantize_op from qconfig

5 years ago[COMMUNITY] @vinx13 -> committer (#3100)
Tianqi Chen [Fri, 26 Apr 2019 16:09:11 +0000 (09:09 -0700)]
[COMMUNITY] @vinx13 -> committer (#3100)

5 years ago[TEST][FLAKY] fix for #3099 (#3101)
Siva [Fri, 26 Apr 2019 15:27:30 +0000 (20:57 +0530)]
[TEST][FLAKY] fix for #3099 (#3101)

5 years ago[Relay][TensorFlow] Remove 'input_0d_mismatch' special handling (#3087)
lixiaoquan [Fri, 26 Apr 2019 05:57:37 +0000 (13:57 +0800)]
[Relay][TensorFlow] Remove 'input_0d_mismatch' special handling (#3087)

* [Relay][TensorFlow] Remove 'input_0d_mismatch' special handling

* Add more tests.

* Cover the case that strided_slice outputs a scalar

5 years agoAdd VSCode directories to gitignore (#3095)
Logan Weber [Thu, 25 Apr 2019 22:38:40 +0000 (15:38 -0700)]
Add VSCode directories to gitignore (#3095)

5 years ago[Relay][TOPI] Add rsqrt operator (#2949)
Hiroyuki Makino [Thu, 25 Apr 2019 18:05:42 +0000 (03:05 +0900)]
[Relay][TOPI] Add rsqrt operator (#2949)

5 years ago[Relay][Text Format] Fix Pretty Printing Annotations (#3041)
Josh Pollock [Thu, 25 Apr 2019 17:56:46 +0000 (10:56 -0700)]
[Relay][Text Format] Fix Pretty Printing Annotations (#3041)

5 years agoUse bridge network and expose port on macOS when launch docker image (#3086)
Liang-Chi Hsieh [Thu, 25 Apr 2019 17:49:50 +0000 (01:49 +0800)]
Use bridge network and expose port on macOS when launch docker image (#3086)

5 years agocheck in (#3089)
eqy [Thu, 25 Apr 2019 03:16:59 +0000 (20:16 -0700)]
check in (#3089)

5 years agoFix UnboundLocalError: local variable 'tensor' referenced before assignment (#3074)
OuHangKresnik [Wed, 24 Apr 2019 22:17:40 +0000 (06:17 +0800)]
Fix UnboundLocalError: local variable 'tensor' referenced before assignment (#3074)

5 years agoEnhance upsample operator to adapt onnx opset version 9 for nnvm comp… (#2968)
Gemfield [Tue, 23 Apr 2019 03:50:55 +0000 (11:50 +0800)]
Enhance upsample operator to adapt onnx opset version 9 for nnvm comp… (#2968)

* Enhance upsample operator to adapt onnx opset version 9 for nnvm compiler

* Add upsample test case for newer opset in nnvm

* re-trigger the CI

5 years ago[Relay] fix target string (#3071)
Bing Xu [Mon, 22 Apr 2019 23:21:47 +0000 (16:21 -0700)]
[Relay] fix target string (#3071)

5 years agoFix code comment and typos. (#3063)
Liang-Chi Hsieh [Mon, 22 Apr 2019 00:17:50 +0000 (08:17 +0800)]
Fix code comment and typos. (#3063)

5 years ago[Frontend][TF] Fix Placeholder issue (#2834)
Yong Wu [Sun, 21 Apr 2019 06:59:22 +0000 (23:59 -0700)]
[Frontend][TF] Fix Placeholder issue (#2834)

* [Frontend][TF] Fix Placeholder issue

* Add test cases

5 years ago[TOPI] Rename output tensors for better readability (#3006)
Lianmin Zheng [Sat, 20 Apr 2019 23:20:03 +0000 (07:20 +0800)]
[TOPI] Rename output tensors for better readability (#3006)

5 years ago[Bugfix] Fix winograd nnpack fp16 (#3046)
hlu1 [Sat, 20 Apr 2019 00:50:34 +0000 (17:50 -0700)]
[Bugfix] Fix winograd nnpack fp16 (#3046)

5 years agofix PostOrderVisit signature (#3048)
masahi [Fri, 19 Apr 2019 16:20:19 +0000 (01:20 +0900)]
fix PostOrderVisit signature (#3048)

5 years ago[RELAY] Avoid unnecessarily reconstructing FunctionNode. (#3047)
lixiaoquan [Fri, 19 Apr 2019 16:19:22 +0000 (00:19 +0800)]
[RELAY] Avoid unnecessarily reconstructing FunctionNode. (#3047)

5 years ago[Relay][Frontend] TF Tile Round Sign Pow Exp Reverse (#2960)
Yong Wu [Fri, 19 Apr 2019 01:07:25 +0000 (18:07 -0700)]
[Relay][Frontend] TF Tile Round Sign Pow Exp Reverse (#2960)

* [Relay][Frontend] TF Round Sign Pow Exp Reverse

* fix ci

* fix comments

5 years agoBugfix for path issues (#3038)
Siju [Thu, 18 Apr 2019 22:20:11 +0000 (03:50 +0530)]
Bugfix for path issues (#3038)

5 years agoAdditional fix for PR#2972 (#3044)
Balint Cristian [Thu, 18 Apr 2019 22:14:00 +0000 (01:14 +0300)]
Additional fix for PR#2972 (#3044)

5 years ago[Relay] Add printing for ADT Type (#3030)
雾雨魔理沙 [Wed, 17 Apr 2019 20:16:37 +0000 (13:16 -0700)]
[Relay] Add printing for ADT Type (#3030)

* Update pretty_printer.cc

* Update pretty_printer.cc

5 years agoImplement relay nn.bias_add compute in C++ (#3027)
Yinghai Lu [Wed, 17 Apr 2019 20:06:30 +0000 (13:06 -0700)]
Implement relay nn.bias_add compute in C++ (#3027)

* Implement nn.bias_add compute in C++

* Address comments

* Remove unnecessary check

5 years agoSupport Deriving channels when it is not provided in AlterLayout. (#2972)
Balint Cristian [Wed, 17 Apr 2019 14:20:41 +0000 (17:20 +0300)]
Support Deriving channels when it is not provided in AlterLayout. (#2972)

5 years ago[Relay] Fix Fuse (#3035)
雾雨魔理沙 [Wed, 17 Apr 2019 05:33:31 +0000 (22:33 -0700)]
[Relay] Fix Fuse (#3035)

* save

* fix

* Update fuse_ops.cc

5 years agoUpdate dmlc-core, fix default ctors of NodeEntry (#3017)
Pedro Larroy [Wed, 17 Apr 2019 00:16:23 +0000 (17:16 -0700)]
Update dmlc-core, fix default ctors of NodeEntry  (#3017)

5 years agoEnsure interpreted functions can take values that are not TensorValues (#3015)
Steven S. Lyubomirsky [Tue, 16 Apr 2019 20:44:30 +0000 (13:44 -0700)]
Ensure interpreted functions can take values that are not TensorValues (#3015)

5 years agoAdd caffe2 nnvm frontend to CI (#3018)
hlu1 [Tue, 16 Apr 2019 20:43:37 +0000 (13:43 -0700)]
Add caffe2 nnvm frontend to CI (#3018)

5 years agoUpdate expr.h (#3031)
雾雨魔理沙 [Tue, 16 Apr 2019 20:43:10 +0000 (13:43 -0700)]
Update expr.h (#3031)

5 years agoSimplify TF get_output_names (#3025)
Alexander Pivovarov [Tue, 16 Apr 2019 20:28:37 +0000 (13:28 -0700)]
Simplify TF get_output_names (#3025)

5 years ago[Relay] Fix BatchMatMulRel typerelation (#3032)
雾雨魔理沙 [Tue, 16 Apr 2019 19:37:49 +0000 (12:37 -0700)]
[Relay] Fix BatchMatMulRel typerelation (#3032)

return false mean retry in the future, and in the case of error, it should be report ASAP, not retry.

5 years ago[ARITH] Fix x||!x for comparisons in rewrite simplifier (#3029)
Sergei Grechanik [Tue, 16 Apr 2019 16:37:45 +0000 (19:37 +0300)]
[ARITH] Fix x||!x for comparisons in rewrite simplifier (#3029)

5 years ago[DOC] Add Android Tutorial (#2977)
tkat0 [Tue, 16 Apr 2019 01:11:51 +0000 (10:11 +0900)]
[DOC] Add Android Tutorial (#2977)

* fix APP_STL for latest android ndk

* add vulkan sdk for tutorial

* add android tutorial

* fix of invalid input layer name

* update relay build opt_level 1 -> 3

5 years ago[Relay] Add compiler pass tutorial docs (#2746)
Logan Weber [Mon, 15 Apr 2019 22:58:54 +0000 (15:58 -0700)]
[Relay] Add compiler pass tutorial docs (#2746)

* Add Relay compiler pass tutorial docs

* Add Python API hook wrapping step

* Incorporate feedback

* More doc iteration

* Mooooore iteration

* Rewrite `runtime.md` in rst

5 years ago[Relay] use unordered_map instead of map in ANF (#3024)
雾雨魔理沙 [Mon, 15 Apr 2019 19:56:31 +0000 (12:56 -0700)]
[Relay] use unordered_map instead of map in ANF (#3024)

5 years ago[RUST][FRONTEND] Fix resnet example (#3000)
Ehsan M. Kermani [Mon, 15 Apr 2019 02:11:18 +0000 (19:11 -0700)]
[RUST][FRONTEND] Fix resnet example (#3000)

Due to the previous changes the frontend resnet example failed to build.  So this patch

1) fixes it
2) adds ~~a local `run_tests.sh` to remedy non-existence of MXNet CI (used in python build example)~~ the example build to CI with random weights and a flag for pretrained resnet weights

Please review: @tqchen @nhynes @kazimuth

5 years ago[COMMUNITY] @hlu1 -> Reviewer (#3021)
Tianqi Chen [Sat, 13 Apr 2019 23:20:24 +0000 (19:20 -0400)]
[COMMUNITY] @hlu1 -> Reviewer (#3021)

5 years ago[Heterogeneous][Bugfix] Fix bug of wrongly generated device_map (#2990)
MORINAGA [Sat, 13 Apr 2019 03:03:11 +0000 (12:03 +0900)]
[Heterogeneous][Bugfix] Fix bug of wrongly generated device_map (#2990)

* fix bug of device_index

* cpplint

* nose

* Update test_pass_annotation.py

* fix name of testcase

* delete comment

5 years ago[Relay][Text Format] Pretty Printer Smart Inlining (#2881)
Josh Pollock [Sat, 13 Apr 2019 01:36:19 +0000 (18:36 -0700)]
[Relay][Text Format] Pretty Printer Smart Inlining (#2881)

5 years ago[Bugfix] Fix caffe2 nnvm frontend (#2996)
hlu1 [Sat, 13 Apr 2019 01:33:45 +0000 (18:33 -0700)]
[Bugfix] Fix caffe2 nnvm frontend (#2996)

5 years ago[Relay] C++ GraphRuntimeCodegen, Deprecate Python2 (#2986)
Bing Xu [Fri, 12 Apr 2019 23:13:45 +0000 (16:13 -0700)]
[Relay] C++ GraphRuntimeCodegen, Deprecate Python2 (#2986)

* [Relay] C++ GraphRuntimeCodegen

* [Test] Deprecate Python2

* [Python3] Add Py2 check

* Update _pyversion.py

* [Python3] Update test

5 years ago[Relay] Add gradient operator tutorial docs (#2751)
Logan Weber [Fri, 12 Apr 2019 22:43:37 +0000 (15:43 -0700)]
[Relay] Add gradient operator tutorial docs (#2751)

* Add gradient operator tutorial docs

* Incorporate Steven's and Ziheng's feedback

* Remove TODO about `collapse_sum_like`

* Add more examples

5 years ago[NIT] fix relay invariant error message (#3011)
eqy [Fri, 12 Apr 2019 21:17:38 +0000 (14:17 -0700)]
[NIT] fix relay invariant error message (#3011)

* [NIT] fix common error message

Extremely minor issue, but this is one of the most common error messages people see...

* Update type_solver.cc

trigger CI

5 years ago[AutoTVM] Fix typos (#3014)
Ce Gao [Fri, 12 Apr 2019 19:37:08 +0000 (03:37 +0800)]
[AutoTVM] Fix typos (#3014)

Signed-off-by: Ce Gao <gaoce@caicloud.io>