Skip to main content

NetExtract

NetExtract[layer,"param"] extracts the value of a parameter for the specified net layer.

NetExtract[net,lspec] extracts the layer identified by lspec from within the NetGraph or NetChain object net.

NetExtract[net,{lspec,"param"}] extracts the value of the parameter param from the layer identified by lspec in net.

NetExtract[net,NetArray[spec]] extracts the value of a shared array within a network or layer.

NetExtract[coder,"param"] extracts the value of a parameter for the specified NetEncoder or NetDecoder.

NetExtract[…,{spec1,spec2,…}] extracts a set of elements, where each speci is a list.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.