rename forward() to forward_cpu(), add forward_gpu() to use specifically GPU to run a single sample.