- Use predict in MATLAB onlyRun inference in MATLAB without generating code.
- Convert output to numeric arrayInside your custom layer, convert dlarray to single or double before returning:
- Avoid unsupported formatsIf code generation is required, design layers to output supported formats.
