Custom Deep Learning Layer with different input and output format occurs error
Mostrar comentarios más antiguos
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 comentario
Chuguang Pan
el 20 de Jul. de 2026 a las 11:56
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Data Workflows en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!