def concat(layer, layer_in, layerId): out = {layerId: concatenate(layer_in)} return out # ********** Noise Layers **********