Error: Too many input arguments

5 views (last 30 days)
How do I solve a too many input arguments error in project and reshape layer. I used the train GAN example

Accepted Answer

Tarunbir Gambhir
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)

Categories

Find more on Software Development Tools in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!