XuZhang99 opened a new issue, #233:
URL: https://github.com/apache/tvm-ffi/issues/233

   If I defined a function using TORCH_LIBRARY_FRAGMENT not 
TVM_FFI_DLL_EXPORT_TYPED_FUNC:
   ```cpp
   void my_ops(torch::Tensor a, torch::Tensor b);
   
   TORCH_LIBRARY_FRAGMENT(TORCH_EXTENSION_NAME, m) {
     m.def("my_ops", my_ops);
   }
   ```
   This will generate a .so file, so can I use `LoadFromFile` to load and 
`GetFunction` to call?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to