报错:module ‘tensorflow’ has no attribute ‘random_normal’ 说明tensorflow中没有random_normal这个方法。 最新一版的random_normal方法已经换为:random.normal,代码中修改一下即可