Exemplo n.º 1
0
 public Set<NNInterface> getOutputLayers() {
   HashSet<NNInterface> aggregator = new HashSet<>();
   if (pipelines.isEmpty()) {
     aggregator.add(layer);
     return aggregator;
   }
   for (Pipeline pipeline : pipelines) {
     aggregator.addAll(pipeline.getOutputLayers());
   }
   return aggregator;
 }