private LayerBase CreateLayer(Merge.Mode mode) { var inputShape = new Shape(1, 3); var layer = new Merge(new []{inputShape, inputShape}, mode); layer.ForceInit(); return layer; }