File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ tests = [
38
38
]
39
39
tox = [" sparse[tests]" , " tox" ]
40
40
all = [" sparse[docs,tox]" , " matrepr" ]
41
- finch = [" finch-tensor" ]
41
+ finch = [" finch-tensor>=0.1.9 " ]
42
42
43
43
[project .urls ]
44
44
Documentation = " https://sparse.pydata.org/"
Original file line number Diff line number Diff line change 4
4
raise ImportError ("Finch not installed. Run `pip install sparse[finch]` to enable Finch backend" ) from e
5
5
6
6
from finch import (
7
+ abs ,
8
+ acos ,
9
+ acosh ,
7
10
add ,
8
11
asarray ,
12
+ asin ,
13
+ asinh ,
9
14
astype ,
15
+ atan ,
16
+ atan2 ,
17
+ atanh ,
10
18
bool ,
11
19
compiled ,
12
20
complex64 ,
13
21
complex128 ,
14
22
compute ,
23
+ cos ,
24
+ cosh ,
15
25
divide ,
16
26
float16 ,
17
27
float32 ,
18
28
float64 ,
29
+ floor_divide ,
19
30
int8 ,
20
31
int16 ,
21
32
int32 ,
27
38
negative ,
28
39
permute_dims ,
29
40
positive ,
41
+ pow ,
30
42
prod ,
31
43
random ,
44
+ sin ,
45
+ sinh ,
32
46
subtract ,
33
47
sum ,
48
+ tan ,
49
+ tanh ,
34
50
tensordot ,
35
51
uint ,
36
52
uint8 ,
40
56
)
41
57
42
58
__all__ = [
59
+ "abs" ,
60
+ "acos" ,
61
+ "acosh" ,
43
62
"add" ,
44
63
"asarray" ,
64
+ "asin" ,
65
+ "asinh" ,
45
66
"astype" ,
67
+ "atan" ,
68
+ "atan2" ,
69
+ "atanh" ,
46
70
"bool" ,
47
71
"compiled" ,
48
72
"complex64" ,
49
73
"complex128" ,
50
74
"compute" ,
75
+ "cos" ,
76
+ "cosh" ,
51
77
"divide" ,
52
78
"float16" ,
53
79
"float32" ,
54
80
"float64" ,
81
+ "floor_divide" ,
55
82
"int8" ,
56
83
"int16" ,
57
84
"int32" ,
63
90
"negative" ,
64
91
"permute_dims" ,
65
92
"positive" ,
93
+ "pow" ,
66
94
"prod" ,
67
95
"random" ,
96
+ "sin" ,
97
+ "sinh" ,
68
98
"subtract" ,
69
99
"sum" ,
100
+ "tan" ,
101
+ "tanh" ,
70
102
"tensordot" ,
71
103
"uint" ,
72
104
"uint8" ,
You can’t perform that action at this time.
0 commit comments