PulseFocusPlatform/ppdet/ext_op/setup.py

7 lines
209 B
Python
Raw Permalink Normal View History

2022-06-01 11:18:00 +08:00
from paddle.utils.cpp_extension import CUDAExtension, setup
if __name__ == "__main__":
setup(
name='rbox_iou_ops',
ext_modules=CUDAExtension(sources=['rbox_iou_op.cc', 'rbox_iou_op.cu']))