Pytorch Run-Length Encoding this repo contains two implmentations: RLE-raw-cuda: It's written using pure cuda lib RLE-thrust: It's written using a higher level lib thrust