NetJoin

NetJoin[chain1,chain2,]

connects a series of NetChain objects to form a single NetChain.

Details

  • The output of chaini should be compatible with the input of chaini+1.
  • Any NetEncoder or NetDecoder objects will be removed unless they occur on the first or last layer of the resulting chain and no corresponding "port"->spec is given.
  • If any of the chaini were constructed from named layers, then all the chains must be so constructed.
  • NetJoin[chain1,chain2,,"port"->spec,] can be used to specify types for the input and/or output of the resulting NetChain, using the normal type specifications allowed by NetChain. The new port specifications will replace any existing NetEncoder, NetDecoder or type.

Examples

open allclose all

Basic Examples  (2)

Join two chains:

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

Join two chains constructed of named layers:

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

Scope  (1)

Possible Issues  (2)

See Also

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

Tutorials

Introduced in 2018
(11.3)