Bug fix
Bug fix

When layer returned by get_xxxxx_layer() method is not the first layer and it is passes input dimensions, it created an error in keras. This commit is a fix for that

bnsnapper/keras_extensions,wuaalb/keras_extensions