如何在 Julia 中将 TensorFlow 升级到 2.0?

How to upgrade TensorFlow to 2.0 in Julia?

julia> print(tf.VERSION)
1.4.2

我在 python 中找到了升级方法,但找不到 Julia 的任何解决方案。

目前 Julia 没有 Tensorflow-2.0 官方 API/package 可用。请注意,即使 JuliaTensorflow 实现也是 TensorFlow.jl was not official one and it was community based with the approach recommended by the TensorFlow maintainers,而且它只是 Tensorflow.

Julia 包装器

如前所述,here in official documentation, for Tensorflow-2.0 API Stability 仅承诺 Python。

如果您在 Julia 中寻找深度学习 frameworks/packages,请使用 Flux.jl or Knet.jl as they're active and pure Julia based solutions. If you want to write gpu code directly in Julia, there are JuliaGPU packages available, additionally you can refer generic gpu kernels

如果您打算使用 Tensorflow-2.0,那么建议您使用 Python 包。