This work in MATLAB :p=rand(2,4);but when i change to :p=rand(3,4) this happen:Input data size does not match net.inputs{1}.size.

 Réponse acceptée

(2,4) indicates four 2-dimensional examples whereas
(3,4) indicates four 3-dimensional examples
Why does the result confuse you?

2 commentaires

Ok,i understand this,but i want to know where i need change in my code for (3,4) to work!
You have to design a different net with the appropriately sized input.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by