Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jerrrrry
infinicore
Commits
52f0dcf0
Unverified
Commit
52f0dcf0
authored
Feb 12, 2026
by
thatPepe
Committed by
GitHub
Feb 12, 2026
Browse files
Merge pull request #1019 from InfiniTensor/issue/1008
Issue/1008
parents
d0f405ce
68026bd1
Changes
292
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
20 additions
and
20 deletions
+20
-20
test/infinicore/ops/cat.py
test/infinicore/ops/cat.py
+1
-1
test/infinicore/ops/causal_softmax.py
test/infinicore/ops/causal_softmax.py
+1
-1
test/infinicore/ops/cdist.py
test/infinicore/ops/cdist.py
+1
-1
test/infinicore/ops/celu.py
test/infinicore/ops/celu.py
+1
-1
test/infinicore/ops/clone.py
test/infinicore/ops/clone.py
+1
-1
test/infinicore/ops/combinations.py
test/infinicore/ops/combinations.py
+1
-1
test/infinicore/ops/conv1d.py
test/infinicore/ops/conv1d.py
+1
-1
test/infinicore/ops/conv2d.py
test/infinicore/ops/conv2d.py
+1
-1
test/infinicore/ops/conv3d.py
test/infinicore/ops/conv3d.py
+1
-1
test/infinicore/ops/conv_transpose1d.py
test/infinicore/ops/conv_transpose1d.py
+1
-1
test/infinicore/ops/conv_transpose2d.py
test/infinicore/ops/conv_transpose2d.py
+1
-1
test/infinicore/ops/conv_transpose3d.py
test/infinicore/ops/conv_transpose3d.py
+1
-1
test/infinicore/ops/corrcoef.py
test/infinicore/ops/corrcoef.py
+1
-1
test/infinicore/ops/cosh.py
test/infinicore/ops/cosh.py
+1
-1
test/infinicore/ops/cosine_embedding_loss.py
test/infinicore/ops/cosine_embedding_loss.py
+1
-1
test/infinicore/ops/cosine_similarity.py
test/infinicore/ops/cosine_similarity.py
+1
-1
test/infinicore/ops/count_nonzero.py
test/infinicore/ops/count_nonzero.py
+1
-1
test/infinicore/ops/cov.py
test/infinicore/ops/cov.py
+1
-1
test/infinicore/ops/cross.py
test/infinicore/ops/cross.py
+1
-1
test/infinicore/ops/cross_entropy.py
test/infinicore/ops/cross_entropy.py
+1
-1
No files found.
test/infinicore/ops/cat.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
(
from
framework
import
(
BaseOperatorTest
,
BaseOperatorTest
,
TensorSpec
,
TensorSpec
,
...
...
test/infinicore/ops/causal_softmax.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
(
from
framework
import
(
BaseOperatorTest
,
BaseOperatorTest
,
TensorSpec
,
TensorSpec
,
...
...
test/infinicore/ops/cdist.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
# Test cases format: (x1_shape, x2_shape, x1_strides_or_None, x2_strides_or_None, p_or_None)
# Test cases format: (x1_shape, x2_shape, x1_strides_or_None, x2_strides_or_None, p_or_None)
...
...
test/infinicore/ops/celu.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
(
from
framework
import
(
BaseOperatorTest
,
BaseOperatorTest
,
TensorSpec
,
TensorSpec
,
...
...
test/infinicore/ops/clone.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
# Test cases format: (shape, input_strides_or_None)
# Test cases format: (shape, input_strides_or_None)
...
...
test/infinicore/ops/combinations.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
# Test cases format: (input_shape, input_strides_or_None, r)
# Test cases format: (input_shape, input_strides_or_None, r)
...
...
test/infinicore/ops/conv1d.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
(
from
framework
import
(
BaseOperatorTest
,
BaseOperatorTest
,
TensorSpec
,
TensorSpec
,
...
...
test/infinicore/ops/conv2d.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
(
from
framework
import
(
BaseOperatorTest
,
BaseOperatorTest
,
TensorSpec
,
TensorSpec
,
...
...
test/infinicore/ops/conv3d.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
(
from
framework
import
(
BaseOperatorTest
,
BaseOperatorTest
,
TensorSpec
,
TensorSpec
,
...
...
test/infinicore/ops/conv_transpose1d.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
(
from
framework
import
(
BaseOperatorTest
,
BaseOperatorTest
,
TensorSpec
,
TensorSpec
,
...
...
test/infinicore/ops/conv_transpose2d.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
(
from
framework
import
(
BaseOperatorTest
,
BaseOperatorTest
,
TensorSpec
,
TensorSpec
,
...
...
test/infinicore/ops/conv_transpose3d.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
(
from
framework
import
(
BaseOperatorTest
,
BaseOperatorTest
,
TensorSpec
,
TensorSpec
,
...
...
test/infinicore/ops/corrcoef.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
# Test cases format: (input_shape, input_strides_or_None)
# Test cases format: (input_shape, input_strides_or_None)
...
...
test/infinicore/ops/cosh.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
(
from
framework
import
(
BaseOperatorTest
,
BaseOperatorTest
,
TensorSpec
,
TensorSpec
,
...
...
test/infinicore/ops/cosine_embedding_loss.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
# Test cases format: (input1_shape, input2_shape, target_shape, input1_strides_or_None, input2_strides_or_None, target_strides_or_None, margin_or_None)
# Test cases format: (input1_shape, input2_shape, target_shape, input1_strides_or_None, input2_strides_or_None, target_strides_or_None, margin_or_None)
...
...
test/infinicore/ops/cosine_similarity.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
(
from
framework
import
(
BaseOperatorTest
,
BaseOperatorTest
,
TensorSpec
,
TensorSpec
,
...
...
test/infinicore/ops/count_nonzero.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
(
from
framework
import
(
BaseOperatorTest
,
BaseOperatorTest
,
TensorSpec
,
TensorSpec
,
...
...
test/infinicore/ops/cov.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
# Test cases format: (input_shape, input_strides_or_None, correction, fweights, aweights)
# Test cases format: (input_shape, input_strides_or_None, correction, fweights, aweights)
...
...
test/infinicore/ops/cross.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
(
from
framework
import
(
BaseOperatorTest
,
BaseOperatorTest
,
TensorSpec
,
TensorSpec
,
...
...
test/infinicore/ops/cross_entropy.py
View file @
52f0dcf0
...
@@ -3,8 +3,8 @@ import os
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
from
framework.tensor
import
TensorInitializer
from
framework.tensor
import
TensorInitializer
...
...
Prev
1
2
3
4
5
6
7
8
…
15
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment