Keras Custom Layer 2D input -> 2D output
问题 I have an 2D input (or 3D if one consider the number of samples) and I want to apply a keras layer that would take this input and outputs another 2D matrix. So, for example, if I have an input with size (ExV), the learning weight matrix would be (SxE) and the output (SxV). Can I do this with Dense layer? EDIT (Nassim request): The first layer is doing nothing. It's just to give an input to Lambda layer: from keras.models import Sequential from keras.layers.core import Reshape,Lambda from