0

I'm using Arbiter in DL4J for the first time to try and optimize a MultiLayerNetwork. My question is pretty straightforward: What is the difference between these two methods? MultiLayerSpace.Builder.addLayer(LayerSpace<?> layerSpace) MultiLayerSpace.Builder.layer(LayerSpace<?> layerSpace)

I've tried consulting the builder's documentation but it provides no explanation. As far as I can tell, these two methods work in exactly the same way.

henryz2003
  • 11
  • 2
  • you are right, they do the same thing. See source code: https://github.com/deeplearning4j/Arbiter/blob/master/arbiter-deeplearning4j/src/main/java/org/deeplearning4j/arbiter/MultiLayerSpace.java#L201-L230 – njzk2 Jul 21 '19 at 19:25
  • Interesting, thanks! – henryz2003 Jul 21 '19 at 19:32

0 Answers0