如何在ubuntu中针对arm64交叉编译TensorFlowr1.15 c++静态库

问题描述 投票:0回答:1

现在,我在ubuntu22中通过run

libtensorflow-core.a
得到了TensorFlowr1.15 c++静态库
../tensorflow-r1.15/tensorflow/contrib/makefile/build_all_linux.sh

但是,我需要在arm64中使用它。

如何在ubuntu中为arm64交叉编译TensorFlowr1.15 c++静态库?

我对此一无所知。有人能给我一些解决方案吗? 非常感谢!

c++ tensorflow static cross-compiling arm64
1个回答
0
投票

我在arrch64服务器上以同样的方式运行。 运行

build_all_linux.sh -a arm64
,我还得到了TensorFlowr1.15 c++静态库
libtensorflow-core.a
这个库适用于arm64。 这个问题我来解答。

现在,我尝试构建tensorflow-on-arm,但没有成功。

© www.soinside.com 2019 - 2024. All rights reserved.