Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
659b5b7
1
Parent(s):
5408936
Remove unused code
Browse files- pysr/export_torch.py +0 -6
pysr/export_torch.py
CHANGED
@@ -1,12 +1,6 @@
|
|
1 |
import collections as co
|
2 |
-
import functools as ft
|
3 |
import sympy
|
4 |
|
5 |
-
def _reduce(fn):
|
6 |
-
def fn_(*args):
|
7 |
-
return ft.reduce(fn, args)
|
8 |
-
return fn_
|
9 |
-
|
10 |
torch_initialized = False
|
11 |
torch = None
|
12 |
sympytorch = None
|
|
|
1 |
import collections as co
|
|
|
2 |
import sympy
|
3 |
|
|
|
|
|
|
|
|
|
|
|
4 |
torch_initialized = False
|
5 |
torch = None
|
6 |
sympytorch = None
|