NetDelete
NetDelete[net,"name"]
deletes a named layer.
NetDelete[net,{spec1,spec2,…}]
deletes several layers simultaneously.
Details

- Layers can only be deleted from a chain or graph if their inputs and outputs are the same size, or if they are at the periphery of the network.
- For NetDrop[chain,{start,end}], the start and end can be given as an integer n, which specifies the n
, or "name", which specifies a named layer in a NetChain that was constructed using <"name"->layer,… >.
Examples
open allclose allScope (3)
Wolfram Research (2018), NetDelete, Wolfram Language function, https://reference.wolfram.com/language/ref/NetDelete.html.
Text
Wolfram Research (2018), NetDelete, Wolfram Language function, https://reference.wolfram.com/language/ref/NetDelete.html.
BibTeX
BibLaTeX
CMS
Wolfram Language. 2018. "NetDelete." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NetDelete.html.
APA
Wolfram Language. (2018). NetDelete. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NetDelete.html