The method can run on commonly-used hardware (CPU, GPU, ).