public Pipeline link(Pipeline pipeline, int socket) throws Exception { layer.link(pipeline.getInputLayer(), socket); pipelines.add(pipeline); return this; }
public Pipeline after(Pipeline pipeline) throws Exception { layer.link(pipeline.getInputLayer()); pipelines.add(pipeline); return pipeline; }