Hello,
I am trying to make a "binding objc for xamarin ios" with the documentation of xamarin (https://docs.microsoft.com/fr-fr/xamarin/ios/platform/binding-objective-c/walkthrough) to have the TensorFlowLite library on xamarin iOS (git: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/experimental/objc).
I manage to create the static library with the source code and have it compiled. So I get the FAT binary.
But on the other hand when I want to create the files "ApiDefinition.cs" and "StructsAndEnum.cs" with "sharpie bind", it works but I have a lot of error in the files:
ex:
Call of a method with a void parameter:
static extern unsafe TfLiteStatus TfLiteTensorCopyFromBuffer (TfLiteTensor * tensor, void * input_data, nuint input_data_size);
I could see it in the source code that it is indeed the case:
TFL_CAPI_EXPORT extern TfLiteStatus TfLiteTensorCopyFromBuffer (TfLiteTensor * tensor, const void * input_data, size_t input_data_size);
Has anyone ever had the same problem? How can I fix it?
Thank you