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/sqrt.py
test/infinicore/ops/sqrt.py
+1
-1
test/infinicore/ops/square.py
test/infinicore/ops/square.py
+1
-1
test/infinicore/ops/stack.py
test/infinicore/ops/stack.py
+1
-1
test/infinicore/ops/std.py
test/infinicore/ops/std.py
+1
-1
test/infinicore/ops/std_mean.py
test/infinicore/ops/std_mean.py
+1
-1
test/infinicore/ops/sum.py
test/infinicore/ops/sum.py
+1
-1
test/infinicore/ops/svd.py
test/infinicore/ops/svd.py
+1
-1
test/infinicore/ops/swiglu.py
test/infinicore/ops/swiglu.py
+1
-1
test/infinicore/ops/take.py
test/infinicore/ops/take.py
+1
-1
test/infinicore/ops/tan.py
test/infinicore/ops/tan.py
+1
-1
test/infinicore/ops/tanhshrink.py
test/infinicore/ops/tanhshrink.py
+1
-1
test/infinicore/ops/threshold.py
test/infinicore/ops/threshold.py
+1
-1
test/infinicore/ops/topk.py
test/infinicore/ops/topk.py
+1
-1
test/infinicore/ops/transpose.py
test/infinicore/ops/transpose.py
+1
-1
test/infinicore/ops/triplet_margin_loss.py
test/infinicore/ops/triplet_margin_loss.py
+1
-1
test/infinicore/ops/triplet_margin_with_distance_loss.py
test/infinicore/ops/triplet_margin_with_distance_loss.py
+1
-1
test/infinicore/ops/trunc.py
test/infinicore/ops/trunc.py
+1
-1
test/infinicore/ops/unfold.py
test/infinicore/ops/unfold.py
+1
-1
test/infinicore/ops/unique.py
test/infinicore/ops/unique.py
+1
-1
test/infinicore/ops/upsample.py
test/infinicore/ops/upsample.py
+1
-1
No files found.
test/infinicore/ops/sqrt.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/square.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/stack.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/infinicore/ops/std.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
,
CaseResult
,
CaseResult
,
...
...
test/infinicore/ops/std_mean.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/sum.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/svd.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: (matrix_shape, strides_or_None, compute_uv_or_None)
# Test cases format: (matrix_shape, strides_or_None, compute_uv_or_None)
...
...
test/infinicore/ops/swiglu.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/take.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
...
...
test/infinicore/ops/tan.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/tanhshrink.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/threshold.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/topk.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/transpose.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/triplet_margin_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: (anchor_shape, positive_shape, negative_shape, strides_or_None, margin_or_None, p_or_None, eps_or_None, swap_or_None)
# Test cases format: (anchor_shape, positive_shape, negative_shape, strides_or_None, margin_or_None, p_or_None, eps_or_None, swap_or_None)
...
...
test/infinicore/ops/triplet_margin_with_distance_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: (anchor_shape, positive_shape, negative_shape, strides_or_None, margin_or_None, swap_or_None)
# Test cases format: (anchor_shape, positive_shape, negative_shape, strides_or_None, margin_or_None, swap_or_None)
...
...
test/infinicore/ops/trunc.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/unfold.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: (in_shape, in_strides_or_None, kernel_size, dilation, padding, stride)
# Test cases format: (in_shape, in_strides_or_None, kernel_size, dilation, padding, stride)
...
...
test/infinicore/ops/unique.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/upsample.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
,
...
...
Prev
1
…
10
11
12
13
14
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