How to script a model using c++ extension? I met this error
RuntimeError: 
Could not export Python function call '_DCNv2'. Remove calls to Python functions before export. Did you forget add @script or @script_method annotation? If this is a nn.ModuleList