Error: Too many input arguments
2 views (last 30 days)
Show older comments
Siti Aisyah Mohd Sanip
on 13 Jun 2021
Commented: Siti Aisyah Mohd Sanip
on 17 Jun 2021
How do I solve a too many input arguments error in project and reshape layer. I used the train GAN example![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/651260/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/651260/image.png)
0 Comments
Accepted Answer
Tarunbir Gambhir
on 16 Jun 2021
Make sure you are using the modified version of the 'projectAndReshapeLayer' class. The updated class file can be located in the folder for this particular example.
You can use the 'View MATLAB Command' button on the example docmentation page and use that command to open the example folder in MATLAB. There you can find the correct 'projectAndReshapeLayer.m' class script along with its dependent functions.
More Answers (0)
See Also
Categories
Find more on Software Development Tools 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!