필터 지우기
필터 지우기

Debugging Custom Layers converted by Matlab into CodegenFusedLayer

조회 수: 2 (최근 30일)
John Smith
John Smith 2023년 3월 15일
답변: John 2024년 6월 16일
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

답변 (1개)

John
John 2024년 6월 16일
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".

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by