Optimization of GPU and CPU acceleration for neural networks layers implemented in python | IEEE Conference Publication | IEEE Xplore