NetFlatten

NetFlatten[net]

collapses nested NetChain and NetGraph objects within net.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Flatten nested chains:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Flatten nested graphs:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Properties & Relations  (1)

Possible Issues  (1)

See Also

NetExtract  NetTake  NetDrop  NetFlatten  NetReplace  NetReplacePart  NetRename  NetDelete  NetInsert  NetAppend  NetPrepend  NetChain  NetGraph

Tutorials

Introduced in 2018
(11.3)