I work on PyTorch1.0.
I build c++ extensions based on the code of Aten.
The input argument of the original c++ function should be  IntList  type.
When I call this function in Python, I pass a Python list to this function.
However, it raises an “Incompatible argument” error.
How to match  IntList  type in Python?