Concatenator

Experimental alpha. Expect breaking changes and major bugs. Your feedback is much appreciated.

Concatenator

Joins two vectors end to end: the main input's numbers first, then the side input's.

concatenation

Shapes

[…×a] and […×b] in, […×(a + b)] out. Every size but the last must match.

Parameters

None.

In PyTorch

x = torch.cat([a, b], dim=-1)

Notes

A Linear Layer after a Concatenator computes the same thing as two Linear Layers, one on each input, added together.

Making it

The Fabricator makes it with no mask. See The Bench and the Fabricator.