Hi,
When I return the "dF", the autograd.tracer will generate the issues about the argument.
For example,
F, G, CV, dF = problem.evaluate(np.random.random((100, 4)), return_values_of=["F", "G", "CV", "dF"])
This will report the issue as following:
File "/Users/lok288/anaconda3/lib/python3.7/site-packages/autograd/tracer.py", line 28, in new_root
root.initialize_root(*args, **kwargs)
TypeError: initialize_root() takes 1 positional argument but 2 were given
Please tell me how to do it?
Thank you!
Yijun
Hi, When I return the "dF", the autograd.tracer will generate the issues about the argument. For example, F, G, CV, dF = problem.evaluate(np.random.random((100, 4)), return_values_of=["F", "G", "CV", "dF"]) This will report the issue as following: File "/Users/lok288/anaconda3/lib/python3.7/site-packages/autograd/tracer.py", line 28, in new_root root.initialize_root(*args, **kwargs) TypeError: initialize_root() takes 1 positional argument but 2 were given Please tell me how to do it? Thank you! Yijun