bartorch.nlop.combine

Contents

bartorch.nlop.combine#

bartorch.nlop.combine(a, b)#

a and b side by side, sharing nothing.

nlop_combine. The result takes a’s inputs and then b’s, and returns a’s outputs and then b’s. It is where every other combination starts: put two operators next to each other, then link() or dup() the arguments that are meant to be the same.

BART applies a combination back to front – b runs first – so put whichever operator produces a value second, and the one that consumes it first. That is the order nlop_chain2 builds, and chain() takes care of it; link() refuses the other way round rather than reading a buffer nothing has written.