Spaces:
Sleeping
Sleeping
Remove torch/jax examples from README
Browse files
README.md
CHANGED
|
@@ -245,10 +245,10 @@ model = PySRRegressor(
|
|
| 245 |
update=False,
|
| 246 |
# ^ Don't update Julia packages
|
| 247 |
extra_sympy_mappings={"cos2": lambda x: sympy.cos(x)**2},
|
| 248 |
-
extra_torch_mappings={sympy.cos: torch.cos},
|
| 249 |
# ^ Not needed as cos already defined, but this
|
| 250 |
# is how you define custom torch operators.
|
| 251 |
-
extra_jax_mappings={sympy.cos: "jnp.cos"},
|
| 252 |
# ^ For JAX, one passes a string.
|
| 253 |
)
|
| 254 |
```
|
|
|
|
| 245 |
update=False,
|
| 246 |
# ^ Don't update Julia packages
|
| 247 |
extra_sympy_mappings={"cos2": lambda x: sympy.cos(x)**2},
|
| 248 |
+
# extra_torch_mappings={sympy.cos: torch.cos},
|
| 249 |
# ^ Not needed as cos already defined, but this
|
| 250 |
# is how you define custom torch operators.
|
| 251 |
+
# extra_jax_mappings={sympy.cos: "jnp.cos"},
|
| 252 |
# ^ For JAX, one passes a string.
|
| 253 |
)
|
| 254 |
```
|