You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to pass the variable args with the args tuple but then the python function complains that the number of arguments is incorrect.
Python.Runtime.PythonException: TypeError : invalid number of arguments
[' File "C:\\Users\\henon\\AppData\\Local\\python-3.7.3-embed-amd64\\lib\\numpy\\lib\\function_base.py", line 1013, in gradient\n raise TypeError("invalid number of arguments")\n'] at Python.Runtime.PyObject.Invoke(PyTuple args, PyDict kw)
at Python.Runtime.PyObject.InvokeMethod(String name, PyTuple args, PyDict kw)
I also tried to pass it as kw["varargs"] but then python says there is no kwarg named "varargs"
Activity