https://kr.mathworks.com/help/deeplearning/ref/dlnetwork.expandlayers.html
expandLayers - Expand network layers - MATLAB
This MATLAB function expands all network layers in the dlnetwork object net, returning an equivalent network with no network layers.
network layersexpandmatlab