Efficient implementation of a generalized convolutional neural networks based on weighted euclidean distance | IEEE Conference Publication | IEEE Xplore