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.

 Akzeptierte Antwort

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

2 Kommentare

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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by