Custom Connected Layer Implementation (Filter Size equal to Image Size) in Keras for Binary Image Classification