Skip to content

Commit b4e2e15

Browse files
committed
Update finch-tensor version
1 parent 361a078 commit b4e2e15

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ tests = [
3838
]
3939
tox = ["sparse[tests]", "tox"]
4040
all = ["sparse[docs,tox]", "matrepr"]
41-
finch = ["finch-tensor"]
41+
finch = ["finch-tensor>=0.1.9"]
4242

4343
[project.urls]
4444
Documentation = "https://sparse.pydata.org/"

sparse/finch_backend/__init__.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,29 @@
44
raise ImportError("Finch not installed. Run `pip install sparse[finch]` to enable Finch backend") from e
55

66
from finch import (
7+
abs,
8+
acos,
9+
acosh,
710
add,
811
asarray,
12+
asin,
13+
asinh,
914
astype,
15+
atan,
16+
atan2,
17+
atanh,
1018
bool,
1119
compiled,
1220
complex64,
1321
complex128,
1422
compute,
23+
cos,
24+
cosh,
1525
divide,
1626
float16,
1727
float32,
1828
float64,
29+
floor_divide,
1930
int8,
2031
int16,
2132
int32,
@@ -27,10 +38,15 @@
2738
negative,
2839
permute_dims,
2940
positive,
41+
pow,
3042
prod,
3143
random,
44+
sin,
45+
sinh,
3246
subtract,
3347
sum,
48+
tan,
49+
tanh,
3450
tensordot,
3551
uint,
3652
uint8,
@@ -40,18 +56,29 @@
4056
)
4157

4258
__all__ = [
59+
"abs",
60+
"acos",
61+
"acosh",
4362
"add",
4463
"asarray",
64+
"asin",
65+
"asinh",
4566
"astype",
67+
"atan",
68+
"atan2",
69+
"atanh",
4670
"bool",
4771
"compiled",
4872
"complex64",
4973
"complex128",
5074
"compute",
75+
"cos",
76+
"cosh",
5177
"divide",
5278
"float16",
5379
"float32",
5480
"float64",
81+
"floor_divide",
5582
"int8",
5683
"int16",
5784
"int32",
@@ -63,10 +90,15 @@
6390
"negative",
6491
"permute_dims",
6592
"positive",
93+
"pow",
6694
"prod",
6795
"random",
96+
"sin",
97+
"sinh",
6898
"subtract",
6999
"sum",
100+
"tan",
101+
"tanh",
70102
"tensordot",
71103
"uint",
72104
"uint8",

0 commit comments

Comments
 (0)