#430·rust

运行时链接 - 积极支持

作者: coldhearti创建于 2024年10月1日更新于 2024年10月1日

同时使用"eager"标志和"tensorflow_runtime_linking"标志会导致整个 tensorflow C API 的编译。这并不是最理想的方案。 我已经为 aarch64 生产环境编译了一个优化的 tensorflow,因此我需要的就是运行时链接。我的项目使用了 eager API(到目前为止运行得很好)。我正在尝试使用 target=aarch64_unknown_linux_gnu 和 features="eager","tensorflow_runtime_linking","ndarray"来编译项目。

内容来源: tensorflow/rust