Fixing model-loading errors with tf_op_files.txt

We have seen this kind of notorious error in the previous chapters, and it could take a lot of pain to figure out the fix unless you know what it really means. TensorFlow operations consist of two parts: the definition, called ops (this is a little confusing, as an op can mean either both its definition and its implementation, or just its definition), located in the tensorflow/core/ops folder, and the implementation, called kernels, located in the tensorflow/core/kernels folder. There's a file called tf_op_files.txt in the tensorflow/contrib/makefile folder that lists the definitions and implementations of the ops that need to be built into the TensorFlow iOS library when you manually build ...

Get Intelligent Mobile Projects with TensorFlow now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.