首页 > 解决方案 > 为什么我在 TensorFlow (julia) 中找不到 Sequential?

问题描述

julia> using TensorFlow

julia> tf= TensorFlow
TensorFlow

julia> m = tf.Sequential()

尝试使用上面的代码得到这个错误

ERROR: UndefVarError: Sequential not defined
Stacktrace:
 [1] getproperty(::Module, ::Symbol) at ./Base.jl:26
 [2] top-level scope at REPL[3]:1

标签: tensorflowjulia

解决方案


推荐阅读