ERROR IN NETSUM , DON'T KNOW WHAT TO DO ABOUT IT
1 次查看(过去 30 天)
显示 更早的评论
every time i input
info = netsum('code')%or name type
the result will be as follow
Error in net_input_fcn (line 6)
info = nnModuleInfo(fcn);
Error using nnet7.net_input_fcn
Output atgument "out1"(and maybe others) not assigned during call to "D:\Program Files\MATLAB\R2014a\toolbox\nnet\nnobsolete\+nnet7\net_input_fcn.m>net_input_fcn"
Error in netsum (line 28)
n = nnet7.net_input_fcn(mfilename,varargin{:});
0 个评论
回答(1 个)
Geoff Hayes
2014-8-9
info = netsum('code') returns information about this function. The following codes are supported:
netsum('name') returns the name of this function.
netsum('type') returns the type of this function.
Etc.
6 个评论
Geoff Hayes
2014-8-15
It is interesting that the error message seems to be raised from some code that is considered obsolete (see nnobsolete). The documentation isn't very clear on the usage of this function with respect to the input codes. Perhaps it is only meant to be called after the creation of a certain network? From the documentation at netsum
Use feedforwardnet or cascadeforwardnet to create a standard network that uses netsum.
What happens if you create the (say) feedforwardnet and then run netsum('name')?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!