File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
numpy
5
5
pytest
6
6
torch
7
- paddlepaddle
7
+ paddlepaddle -i https://www.paddlepaddle.org.cn/packages/nightly/cpu/
8
8
sparse >= 0.15.1
9
9
ndonnx
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ def test_get_namespace():
122
122
# Backwards compatible wrapper
123
123
assert array_api_compat .get_namespace is array_api_compat .array_namespace
124
124
125
- def test_python_scalars ():
125
+ def test_python_scalars_torch ():
126
126
a = torch .asarray ([1 , 2 ])
127
127
xp = import_ ("torch" , wrapper = True )
128
128
@@ -138,7 +138,7 @@ def test_python_scalars():
138
138
assert array_namespace (a , True ) == xp
139
139
assert array_namespace (a , None ) == xp
140
140
141
- def test_python_scalars ():
141
+ def test_python_scalars_paddle ():
142
142
a = paddle .to_tensor ([1 , 2 ])
143
143
xp = import_ ("paddle" , wrapper = True )
144
144
You can’t perform that action at this time.
0 commit comments