How can I use the PReLU
activation function with an variable input size?
from keras.layers import Conv2D, Input
from keras.layers.advanced_activations import PReLU
X = Input(shape=(None,None,1))
conv1Y = Conv2D(filters=49, kernel_size=7, name='conv1')(X)
conv1Y = PReLU()(conv1Y)
The code above yields
TypeError: unsupported operand type(s) for *: 'NoneType' and 'NoneType'