How to define a Keras Custom Layer to add a random value to the output of a Flatten layer (of a CNN) of size (None, 100)?