Cnn Lstm Keras Tutorial, Step 1: Define Custom Attention Layer .