IPython--network报错AttributeError: 'neuralNetwork' object has no attribute 'inodes'

@TOCIPython--network报错AttributeError: 'neuralNetwork' object has no attribute 'inodes'

在写神经网络的代码,在测试的时候报了这么一条错误

AttributeError: ‘neuralNetwork’ object has no attribute ‘inodes’,

怎么看都没有错误,去问万能的百度,给的解释是class和def函数的缩进问题,但是我是照着课本敲得代码,比对了一番也是没有区别

然后就抱着侥幸心理 去改inodes有关的代码
标点符号,拼写,都改了一边!
就通过了!

可能是用到中文符号的 . 了吧
心累