Implement ConcatenateLayer in GPU.