NetTake
NetTake[net,end] takes only those layers up to end in a NetChain or NetGraph.
NetTake[net,{start,end}] takes only those layers between start and end in a NetChain or NetGraph.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.