Custom Deep Learning Layer with different input and output format occurs error
Afficher commentaires plus anciens
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 commentaire
Chuguang Pan
le 20 Juil 2026 à 11:56
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Data Workflows 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!