Custom Deep Learning Layer with different input and output format occurs error
Mostra commenti meno recenti
When I construct the custom deep learning layer with formattable input and output, checkLayer function returns error when the input has "CBT" format and output has "SCBT" format. However, when I change the output with the same "CBT" format as input, the checkLayer function is successful. The error message is
Number of dimension labels in data format must be greater than or equal to the
number of dimensions of the data array.
I would like to know if maintaining input and output consistency in formatting is a mandatory requirement when implementing custom layers?
1 Commento
Chuguang Pan
il 20 Lug 2026 alle 11:56
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Image Data Workflows in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!