lawlite19 / MachineLearning_Python

机器学习算法python实现
MIT License
7.29k stars 2.44k forks source link

关于nn_params的问题 #2

Closed W-void closed 6 years ago

W-void commented 6 years ago

为什么要将nn_params reshape来reshape去呢,不能直接向optimize.fmin_cg函数中传入它本来的shape吗

lawlite19 commented 6 years ago

你可以看它函数的描述,必须要是一维的 image

W-void commented 6 years ago

非常感谢