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

229 Коммитов

Автор SHA1 Сообщение Дата
Logan Weber fbb74892c4 [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
2019-04-15 15:58:54 -07:00
Logan Weber b9349cb0c1 [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
2019-04-12 15:43:37 -07:00
Tianqi Chen cffb4fba03
[HEADER] Add Header to Comply with ASF Release Policy (#2982)
* [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
2019-04-07 21:14:02 -07:00
Leyuan Wang ae21eddf5f [Relay][OP] Gather_nd exposed to relay (#2945)
* gather_nd added

* gather_nd test added

* more test added

* fix lint

* fix build error

* fix lint

* comments addressed
2019-04-01 23:17:31 -07:00
Tianqi Chen f63631fc73
[RUNTIME] Scaffold structured error handling. (#2838) 2019-03-18 23:05:02 -07:00
Ashutosh Parkhi cc112c10c5 Support for sign (#2775) 2019-03-13 22:14:26 -07:00
Haichen Shen ee8058069a [Relay/TOPI][Op] Add shape op in Relay and TOPI (#2749)
* 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
2019-03-13 16:14:48 -07:00
Leyuan Wang 4d09fc4e48 [Relay][Frontend] Add reverse op to relay (#2800)
* start adding reverse

* reverse updated

* reverse uses topi::flip

* typo fixed

* comment addressed

* exp simplified
2019-03-13 14:24:46 -07:00
Alexander Pivovarov 864da84064 Make cpptest build on Ubuntu (#2798) 2019-03-12 16:11:50 -07:00
Tianqi Chen 5e3ceaa073
[DOCKER] Update docker protocol (#2793) 2019-03-12 14:34:34 -07:00
Tianqi Chen 8fd847195b
[DOCS] Phase out nnvm tutorials (#2783) 2019-03-12 09:37:41 -07:00
Leyuan Wang 19194e97de [Relay/TOPI][Frontend] Add tile and repeat operators in Relay and TOPI (#2720)
* tile and repeat operator added in rely

* fix pylint

* fix make warnings

* comments addressed

* fix lint error

* comment addressed
2019-03-10 23:29:51 -07:00
Yong Wu 801068f343 update relay python api doc (#2766) 2019-03-11 00:06:09 -04:00
abergeron a803099fcd Add the new logical operators to the doc. (#2761) 2019-03-10 12:32:44 -04:00
Leyuan Wang ef58291dda [Relay][TOPI][OP] intel_graphics conv2d alterlayout support relay, added stack op (#2729)
* 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
2019-03-05 19:42:32 -08:00
Ruslan Baratov fd9fa4bf4c Docs: pip dependencies for testing (#2728) 2019-03-04 15:21:36 -08:00
MORINAGA 25c50fc94c [DOCS] Fix tutorial (#2724)
* fix docments

* delete e
2019-03-04 05:21:49 -08:00
Ashutosh Parkhi af69f8730b [Tensorflow, NNVM, TOPI] Support for logical operators (#2453) 2019-03-03 10:20:59 -08:00
Haichen Shen 8459006322 [Relay/TOPI][Op] Add batch_matmul in relay and TOPI (#2561)
* 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
2019-03-01 14:53:46 -08:00
Ruslan Baratov f4b69742e7 Few docs fixes (#2703) 2019-02-28 10:45:02 -08:00
Yizhi Liu ee79703c3c [Lang] Layout in TVM node system (#2509)
* 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
2019-02-28 12:26:22 +08:00
Siju b5f46c420e yolo reorg op for relay (#1941) 2019-02-26 20:19:45 -08:00
Haichen Shen 16b009b236 [Relay/TOPI][OP] Add arange op in Relay and TOPI (#2621)
* 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
2019-02-22 22:49:15 -08:00
Tianqi Chen 97bae615cb
Update community.rst 2019-02-22 14:30:59 -08:00
Steven S. Lyubomirsky d7390d1629 [Relay][Docs] Documentation for Algebraic Data Types (#2575) 2019-02-18 16:59:20 -05:00
Jian Weng c53dd1020e [Hybrid script] Backend support (#2477)
* a preliminary version is done?

* we no longer need the redundant hybrid/api.py

* support assert stmt

* cast supported

* intrin -> runtime; util is mainly in charge of compilation time

* assert statement

* fix python lint

* fix cpp lint

* on the way to module

* rollback .cc

* fix typo, no direct expose then

* @vinx13 ceil is added i guess?

* wip...

* temp commit

* fix import

* i preliminary version is done?

* on the way to build hybrid module

* nearly fixed...

* dumped python are equiv as original python

* on the way to bootstrap

* cpu bootstrap done

* bootstrap!

* fix lint

* fix doc

* resolve some review concerns

* support load/save

* fix lint

* thanks to xqdan fixed my typo

* fix build, make dump non-optional

* add vthread

* jesus why i added this
2019-02-13 15:46:34 -08:00
Siva 2f859d712d [RELAY][FRONTEND] Tensorflow frontend. (#2216)
* [RELAY][FRONTEND] Tensorflow frontend support.

* 	* LSTM removed for a while.

* 	* basic ops are good.

* 	* nn wip

* 	* wip

* 	* python2.7 corrections.

* * NN ops are good.

* * e2e models working good

* 	* all good except LSTM

* 	* rebase, tutorials and CI trigger.

* 	* CI errors.

* 	* enable opt_level=3

* 	* Docstrings cleanup. testing.tf utils moved to relay from nnvm.

* 	* tutorials update.

* 	* LSTM work good now.

* 	* Rebase

* 	* CI error

* 	* enable PTB.

* 	* rebase.

* 	* tutorials

* Update python/tvm/relay/frontend/tensorflow.py

Co-Authored-By: srkreddy1238 <sivar.b@huawei.com>

* 	* review comments.

* 	CI fix.

* 	* review comments.
2019-02-05 15:11:17 -08:00
Haichen Shen 40f7682547 [Relay][OP] Add reverse_reshape (#2503)
* Enable reverse in reshape

* Fix lint and typo

* Put reverse_reshape into a separate op

* Fix pylint
2019-02-04 15:00:22 -08:00
Yong Wu b805c69c6e [DOCS][RELAY] Sync up ops with code base (#2532) 2019-02-01 15:50:39 -08:00
Anthony Mai 75f91c45d7 Optimize Linux shared library modules (*.so files) (#2445) 2019-01-28 21:14:18 -08:00
Logan Weber 6d6762f896 Fix Relay docs formatting and grammar (#2471) 2019-01-24 17:38:04 -08:00
Tianqi Chen 65548f99fb
[DOCS][COMMUNITY] Committer guide and tips (#2468) 2019-01-24 13:53:53 -05:00
Tianqi Chen e4b9f986da
Frontend before tensor expression 2019-01-20 11:01:28 -08:00
Tianqi Chen f7d0883d43
[DOCS][COMMUNITY] Improve code review guideline on API designs (#2459) 2019-01-18 14:14:19 -08:00
Tianqi Chen 237dbf230e
[TUTORIAL] Introduce frontend folder (#2457) 2019-01-17 21:22:59 -08:00
Liangfu Chen 985e7d72bf Update docs for some new modules (#2454) 2019-01-17 09:08:30 -08:00
Steven S. Lyubomirsky 967bcb3b7b Fix links and formatting in langref (#2440) 2019-01-15 22:04:25 -08:00
Josh Pollock ac3b5bb3eb [Relay][Docs] Fix local variable code example. (#2435) 2019-01-15 12:26:49 -08:00
Jian Weng ac54577f0b [Hybrid Script] Supporting scheduling hybrid script (#2416)
* on the way to enable hybrid schedule

* I think I am done with imperfect loop split?

* copyright watermark

* loop annotation

* fix lint

* fix lint 1

* shit!

* loop reorder supported

* support bind to add some tests

* fused tested

* imperfect loop testcase

* fix lint

* add bind testcase

* fix doc

* fix online edit typo

* resolve @mercymercy review

* fix indent

* i should convince myself it is not flaky test first

* fix test hybrid

* how many flaky test are you expecting; i ball ball u to let me pass

* rebase halide...
2019-01-15 14:27:15 +08:00
Haichen Shen a9bd5593a3 [X86][TOPI] Add AutoTVM template for dense (#2392)
* 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
2019-01-13 22:43:34 -08:00
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
Tianqi Chen 9d20fa1b98
[PASS][TENSOR] Use correct select semantics (#2394) 2019-01-11 10:19:09 -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
Steven S. Lyubomirsky a64d81fa89 [Relay][Docs] Relay Language Reference (#2232) 2019-01-02 16:19:28 -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
Liang ZOU 98ce9ea09f [DOCS] typo "@func myfunc" => "func @myfunc" (#2333)
typo "@func myfunc" => "func @myfunc"
2018-12-24 22:23:18 -08:00
Steven S. Lyubomirsky 3cf910c8a0 [Relay][Docs] Fix broken bullet points in Relay operator addition tutorial (#2325) 2018-12-24 11:28:02 -08:00
Steven S. Lyubomirsky 14acb80adc [Relay][docs] Details on comp. graphs in Relay dev intro (#2324) 2018-12-24 11:15:32 -08:00
masahi 03872132ea [DOC] Codebase walkthrough with vector add example (#2273) 2018-12-20 10:07:44 -08:00