[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
Showing
include/tvm/data_layout.h
0 → 100644
This diff is collapsed.
Click to expand it.
src/lang/data_layout.cc
0 → 100644
This diff is collapsed.
Click to expand it.
src/relay/op/layout.cc
deleted
100644 → 0
src/relay/op/layout.h
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment