Re: [apache/tvm] WIP/RFC: initial stab at TorchScript fallback (#7401)

2021-05-23 Thread Philipp van Kempen
Hey @t-vi, the idea of a fallback for unsupported TorchScript Ops is great. I am currently pursuing a similar approach for unsupported (and custom) TFLite Ops. I also stumbled over the issue that `num_inpust == -1` leads to problems in the `type_infer` step and "solved" it in a quite bad way b

[Apache TVM Discuss] [Development] Exporting sources for C++ only operator/kernel implementations

2021-05-22 Thread Philipp van Kempen via Apache TVM Discuss
For a custom operator I am currently implementing I generate C-code following the BYOC approach. As I have to include 3rd party C++ header files containing namespaces etc. I have not really found a way to compile my kernels (In my case `src/lib2.c`) without changing the file extension to `.cc`