Debugging Custom Layers converted by Matlab into CodegenFusedLayer

Hi,
While developing a custom layer (actually - a DAG encapsulated in a dlnetwork) I found out that Matlab converted it into a CodegenFusedLayer.
Problem is that breakpoints I set in the code of my implementation aren't hit because the code that is being executed is elsewhere.
How can I continue debuggind my code with CodegenFusedLayer? Is there a way to stop this fusion or to cause breakpoints to be triggered?
Thx

Respuestas (1)

John
John el 16 de Jun. de 2024
Acceleration="none" to trainingOptions is an option. For customs specifically, not inheriting nnet.layer.Acceleratable may suffice (haven't tried). Though not explicitly stated, I was hinted from here under "Acceleration Considerations".

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2022b

Preguntada:

el 15 de Mzo. de 2023

Respondida:

el 16 de Jun. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by