Imported from https://github.com/NellyElsayed/GRU-FCN-model-for-univariate-time-series-classification