-
在kan/utils.py里边
我替换为了:
但是之后运行symbolic_formula的时候,可以正常循环很多个轮回,只是到循环的后边,又报错了:
-------------
abcd: tensor(-10., device='cuda:0', grad_fn=) tensor(-10., device='cuda:0', grad_fn=) tensor(0., dev…
-
- issue to be solved in #13
-
```
from sympy import symbols, limit
def main():
# define the variable and the expression
x = symbols('x')
expression = (2 * x**2 + x - 3) / (x**2 - x)
print(f"Calculating …
-
Has anyone tested nestml with sympy>=1.12.1?
I see there are known reasons to stick to sympy
-
My notebook hangs 100% of the time I try this:
from lcapy import *
a = 2 * t + 3
a.sympy
I tried not doing a * import, but no luck there either. Any suggestions?
-
Is there an scrapper for Sympy output?
Any hints?
Thanks!
-
https://github.com/pymoca/pymoca/blob/9d597d76aa2b82bd3d563d4938a098af8baafd49/test/notebooks/Spring.ipynb#L1463
raises
```txt
------------------------------------------------------------------…
-
When using the complex miniscript policy below, it yields the following type error.
> TypeError: expecting bool or Boolean, not `(2, [pk.dave, pk.eve, pk.frank])`.
Snippet which raises the error…
-
Great job with the new containerized evaluation tool! I've run it a couple of times on the golden patches on SWE-bench Lite and overall it gives a more stable result than my swe-bench-docker setup. Th…
-
Currently arbitrary python objects **cannot** be referenced within `nested_tasks`, since the logic of the nested task gets evaluated and embedded in the workflow. However, it would be desirable to loo…