I am trying to create a UDO package for HardSigmoid in mobilenetv3.onnx model, I have followed the process given in the SNPE documentation. I am able to compile the UDO package into .so files on my x86 machine, but When I try to load the packages in my cpp inference code on the target Rb5 device, it's not getting loaded, can you please suggest how I, load those compiled UDO package or how can I compile the UDO package on the target Rb5 device?
Thanks in advance
Hi vkakula,
Please make sure that the your UDO package's shared library is compiled with aarch64-gnu-linux toolchain(RB5's Toolchain), if your UDO package is compiled on x86 with native x86's toolchain, then architecture wise it will make the difference, that must be the reason why RB5 is not loading the UDO plugin for your custom implementation.
Please compile the same with aarch64-gnu-linux, and let me know if you face same issue.
Regards,
Sahil Bandar