我一直在尝试在Ubuntu 16.04 32bit上使用Tensorflow Rust社区绑定。编译成功,我有一个工作libtensorflow.so
文件
正确地与Rust程序链接,但是一旦我运行程序,我就会收到以下错误:
F tensorflow/core/platform/cpu_feature_guard.cc:35] The TensorFlow library was compiled to use SSE instructions, but these aren't available on your machine.
我已经尝试了几种解决方案,并且我已经成功地使libtensorflow_cc.so
共享库工作,但是适用于此的相同解决方案对libtensorflow.so
共享库不起作用。我正在尝试从主tensorflow github存储库编译r1.0
标记。
tensorflow.bzl
没有this回答中引用的行,因此该解决方案不适用。我也尝试使用bazel build --copt=-mno-sse ...
进行编译,但这也无效。关于如何解决这个问题的任何想法?