I have the following code snippet:
model = Sequential() model.add(Conv2D(16, (5, 5), input_shape=(256, 256, 1))) x = model.layers[0].output model.add(Lambda(l