Allow Layers and MultipleInputLayers to be constructed from input shapes rather than input layers