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
21 deletions
+20
-21
test/infinicore/ops/cummax.py
test/infinicore/ops/cummax.py
+1
-1
test/infinicore/ops/cummin.py
test/infinicore/ops/cummin.py
+1
-1
test/infinicore/ops/cumprod.py
test/infinicore/ops/cumprod.py
+1
-1
test/infinicore/ops/cumsum.py
test/infinicore/ops/cumsum.py
+1
-1
test/infinicore/ops/deg2rad.py
test/infinicore/ops/deg2rad.py
+1
-1
test/infinicore/ops/det.py
test/infinicore/ops/det.py
+1
-1
test/infinicore/ops/diag.py
test/infinicore/ops/diag.py
+1
-1
test/infinicore/ops/diag_embed.py
test/infinicore/ops/diag_embed.py
+1
-1
test/infinicore/ops/diagflat.py
test/infinicore/ops/diagflat.py
+1
-1
test/infinicore/ops/diagonal.py
test/infinicore/ops/diagonal.py
+1
-1
test/infinicore/ops/diagonal_scatter.py
test/infinicore/ops/diagonal_scatter.py
+1
-1
test/infinicore/ops/diff.py
test/infinicore/ops/diff.py
+1
-1
test/infinicore/ops/digamma.py
test/infinicore/ops/digamma.py
+1
-1
test/infinicore/ops/dist.py
test/infinicore/ops/dist.py
+1
-1
test/infinicore/ops/dot.py
test/infinicore/ops/dot.py
+1
-1
test/infinicore/ops/dropout1d.py
test/infinicore/ops/dropout1d.py
+1
-1
test/infinicore/ops/dropout2d.py
test/infinicore/ops/dropout2d.py
+1
-1
test/infinicore/ops/dropout3d.py
test/infinicore/ops/dropout3d.py
+1
-1
test/infinicore/ops/elu.py
test/infinicore/ops/elu.py
+1
-1
test/infinicore/ops/embedding.py
test/infinicore/ops/embedding.py
+1
-2
No files found.
test/infinicore/ops/cummax.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
(
BaseOperatorTest
,
TensorSpec
,
...
...
test/infinicore/ops/cummin.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
(
BaseOperatorTest
,
TensorSpec
,
...
...
test/infinicore/ops/cumprod.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
(
BaseOperatorTest
,
TensorSpec
,
...
...
test/infinicore/ops/cumsum.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
(
BaseOperatorTest
,
TensorSpec
,
...
...
test/infinicore/ops/deg2rad.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
(
BaseOperatorTest
,
TensorSpec
,
...
...
test/infinicore/ops/det.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
# Test cases format: (matrix_shape, strides_or_None)
...
...
test/infinicore/ops/diag.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
# Test cases format: (input_shape, input_strides_or_None, diagonal_k_or_None)
...
...
test/infinicore/ops/diag_embed.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
# Test cases format: (input_shape, input_strides_or_None, offset_or_None)
...
...
test/infinicore/ops/diagflat.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
# Test cases format: (input_shape, input_strides_or_None, offset_or_None)
...
...
test/infinicore/ops/diagonal.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
# Test cases format: (input_shape, input_strides_or_None, offset_or_None, dim1_or_None, dim2_or_None)
...
...
test/infinicore/ops/diagonal_scatter.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
(
BaseOperatorTest
,
TensorSpec
,
...
...
test/infinicore/ops/diff.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
(
BaseOperatorTest
,
TensorSpec
,
...
...
test/infinicore/ops/digamma.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
(
BaseOperatorTest
,
TensorSpec
,
...
...
test/infinicore/ops/dist.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
# Test cases format: (shape, a_strides_or_None, b_strides_or_None, p_or_None)
...
...
test/infinicore/ops/dot.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
# Test cases format: (vec1_shape, vec2_shape, vec1_strides_or_None, vec2_strides_or_None)
...
...
test/infinicore/ops/dropout1d.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
(
BaseOperatorTest
,
TensorSpec
,
...
...
test/infinicore/ops/dropout2d.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
(
BaseOperatorTest
,
TensorSpec
,
...
...
test/infinicore/ops/dropout3d.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
(
BaseOperatorTest
,
TensorSpec
,
...
...
test/infinicore/ops/elu.py
View file @
52f0dcf0
...
...
@@ -3,8 +3,8 @@ import os
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
torch
import
infinicore
import
torch
from
framework
import
(
BaseOperatorTest
,
TensorSpec
,
...
...
test/infinicore/ops/embedding.py
View file @
52f0dcf0
...
...
@@ -3,6 +3,7 @@ import sys
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
".."
))
import
infinicore
import
torch
from
framework
import
BaseOperatorTest
,
TensorSpec
,
TestCase
,
GenericTestRunner
from
framework.tensor
import
TensorInitializer
...
...
@@ -12,8 +13,6 @@ from framework.utils.tensor_utils import (
to_torch_dtype
,
)
import
infinicore
# ==============================================================================
# Operator-specific configuration
# ==============================================================================
...
...
Prev
1
2
3
4
5
6
7
8
9
…
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