TensorFlow.NET icon indicating copy to clipboard operation
TensorFlow.NET copied to clipboard

Problem on Unity iOS

Open SestoAle opened this issue 4 years ago • 1 comments

Hi,

I was able to load Tensorflow.NET on Unity: I compiled the Tensorflow.NET dll and tensorflow 2.0.0 library and I put the files in the same folder inside Unity Assets. It seems to compile and work correctly for PC, but not for iOS.

I followed the Unity documents to compile the Tensorflow.NET dll for iOS (I replaced all 'DllImport[('..'])' with 'DllImport[('__internal')]', I compiled tensorflow 2.0.0 for iOS but Xcode gives me a linking error: it seems that all the operations of tensorflow eager mode are missing from the library.

Undefined symbols for architecture arm64: "_TFE_TensorHandleNumDims"

and this happens for all TFE operations.

Is there an already compiled library for iOS that works? Do I need to use tensorflow lite for iOS? If so, how can I use tensorflow lite?

SestoAle avatar Nov 06 '20 08:11 SestoAle

Did you solved this?

burungiu avatar Feb 10 '23 13:02 burungiu