[RUNTIME] Implement TVMDSOOp(TensorFlow custom op) for TVM runtime (#4459)
* Add implementation of TVMDSOOp * feat: Update cmake script to work with c++11 and in-repo build * feat: Use libtvm as oplib dependency * fix: Add missing link dependency to libtvm * feat: Update tf tvmdso op by review comments * fix: Update with pr comments * fix: Fix lint * feat: Add test script and fix gpu shape * feat: Add test script and fix gpu shape * fix: Conditional build tftvm op for gpu * fix: Conditional build tftvm op for gpu * fix: Fix pylint of tf_op module.py * fix: Fix pylint of tf_op module.py * feat: Conditional enable gpu test for tftvm op * feat: Conditional enable gpu test for tftvm op * feat: Add tf_tvmdsoop test script as an app test * fix: Fix gpu/cpu enabled check on tvm in test script * fix: Make tf tvmdso op test script runnable with pytest * remove unused test script test_tfop_module.py * fix: Remove pushd & popd in tfdsoop test script * fix: Upgrade tftvmop use python3 to find TensorFlow * fix: Upgrade tftvmop use python3 to find TensorFlow * fix: Change target_link_options to target_link_libraries * fix: Add tftvmop build script's c++ option * fix: Add tvm library path to tf op test library path * fix: Debug ci build for tftvm dso op * fix: Fix cmake error and skip tfop test * fix: Fix typo and indentation issues * feat: Use TF list input op def * fix: Fix style and unexpected changes Co-authored-by: baoxinqi <baoxinqi@4paradigm.com> Co-authored-by: Chen Dihao <chendihao@4paradigm.com> Co-authored-by: wrongtest <wrongtest@4paradigm.com>
Showing
apps/tf_tvmdsoop/CMakeLists.txt
0 → 100644
apps/tf_tvmdsoop/tests/test_tfop_module.py
0 → 100644
cmake/modules/contrib/TF_TVMDSOOP.cmake
0 → 100644
python/tvm/contrib/tf_op/__init__.py
0 → 100644
python/tvm/contrib/tf_op/module.py
0 → 100644
src/contrib/tf_op/tvm_dso_op_kernels.cc
0 → 100644
This diff is collapsed.
Click to expand it.
src/contrib/tf_op/tvm_dso_ops.cc
0 → 100644
Please
register
or
sign in
to comment