4D Convolution and Cost Volume in CUDA A simple 4D convolution layer and 4D cost volume layer in CUDA with Pytorch interface. Compile and test cd cpp python setup.py install python test.py cd .. cd cuda python setup.py install python test.py