Fixed method signature problem in dropout_from_layer