An example of CUDA custom operation for PyTorch (weighted average)
Primary LanguageCuda
Just run the file by python main.py
python main.py