Deduplicate the CPU and the GPU Forward & Backward of the FlattenLayer