bartorch.nlop.combine#
- bartorch.nlop.combine(a, b)#
aandbside by side, sharing nothing.nlop_combine. The result takesa’s inputs and thenb’s, and returnsa’s outputs and thenb’s. It is where every other combination starts: put two operators next to each other, thenlink()ordup()the arguments that are meant to be the same.BART applies a combination back to front –
bruns first – so put whichever operator produces a value second, and the one that consumes it first. That is the ordernlop_chain2builds, andchain()takes care of it;link()refuses the other way round rather than reading a buffer nothing has written.