The example 'Solve Partial Differential Equation with LBFGS Method and Deep Learning' doesn't work because the supporting file 'paramsStructToVector' function.
Show older comments
parametersV = zeros(numParamsTotal,1,'like',parameters.(parameterNames{1}));
The main reason is this code.'parameters.(parameterNames{1})' is a struct lead to the zeros function input specification is not met
Accepted Answer
More Answers (0)
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!