torch-mlir/frontends/pytorch/csrc/c10_dispatch
Harsh Menon c2d3820e48 Fix insertion point bug #102
The current code was inserting all build_list ops
after the last constant op since it was assuming that all
elements being passed in were constants.

This patch replaces that patch with a new function that
inserts the build_list ops before the terminator.

Also modifies test_export_conv2d_fwd.py since its output
no longer matches.

TEST: Added test_export_cat.py which is the code in #102
2020-11-02 16:41:26 -08:00
..
CMakeLists.txt Support optional args/returns and other odds and ends. 2020-10-30 14:50:28 -07:00
acap_dispatch.cpp Fix insertion point bug #102 2020-11-02 16:41:26 -08:00
acap_dispatch.h Capture backward conv and copy_ kernels. 2020-10-30 22:59:26 -07:00
debug.cpp Support optional args/returns and other odds and ends. 2020-10-30 14:50:28 -07:00
debug.h Support optional args/returns and other odds and ends. 2020-10-30 14:50:28 -07:00
func_builder.cpp Fix insertion point bug #102 2020-11-02 16:41:26 -08:00
func_builder.h Fix insertion point bug #102 2020-11-02 16:41:26 -08:00
module_builder.cpp Create public API for torch_mlir python code. 2020-10-13 16:36:49 -07:00
module_builder.h Create public API for torch_mlir python code. 2020-10-13 16:36:49 -07:00
python_bindings.cpp Support optional args/returns and other odds and ends. 2020-10-30 14:50:28 -07:00