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/asin.py
test/infinicore/ops/asin.py
+1
-1
test/infinicore/ops/asinh.py
test/infinicore/ops/asinh.py
+1
-1
test/infinicore/ops/atan.py
test/infinicore/ops/atan.py
+1
-1
test/infinicore/ops/atan2.py
test/infinicore/ops/atan2.py
+1
-1
test/infinicore/ops/atanh.py
test/infinicore/ops/atanh.py
+1
-1
test/infinicore/ops/avg_pool1d.py
test/infinicore/ops/avg_pool1d.py
+1
-1
test/infinicore/ops/avg_pool2d.py
test/infinicore/ops/avg_pool2d.py
+1
-1
test/infinicore/ops/avg_pool3d.py
test/infinicore/ops/avg_pool3d.py
+1
-1
test/infinicore/ops/baddbmm.py
test/infinicore/ops/baddbmm.py
+1
-1
test/infinicore/ops/batch_norm.py
test/infinicore/ops/batch_norm.py
+1
-1
test/infinicore/ops/bilinear.py
test/infinicore/ops/bilinear.py
+1
-1
test/infinicore/ops/binary_cross_entropy.py
test/infinicore/ops/binary_cross_entropy.py
+1
-1
test/infinicore/ops/binary_cross_entropy_with_logits.py
test/infinicore/ops/binary_cross_entropy_with_logits.py
+1
-1
test/infinicore/ops/bincount.py
test/infinicore/ops/bincount.py
+1
-1
test/infinicore/ops/bitwise_left_shift.py
test/infinicore/ops/bitwise_left_shift.py
+1
-1
test/infinicore/ops/bitwise_right_shift.py
test/infinicore/ops/bitwise_right_shift.py
+1
-1
test/infinicore/ops/bitwise_xor.py
test/infinicore/ops/bitwise_xor.py
+1
-1
test/infinicore/ops/block_diag.py
test/infinicore/ops/block_diag.py
+1
-1
test/infinicore/ops/broadcast_to.py
test/infinicore/ops/broadcast_to.py
+1
-1
test/infinicore/ops/bucketize.py
test/infinicore/ops/bucketize.py
+1
-1
No files found.
test/infinicore/ops/asin.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/asinh.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/atan.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/atan2.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/atanh.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/avg_pool1d.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/avg_pool2d.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/avg_pool3d.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/baddbmm.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/batch_norm.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, running_mean_present_bool, running_var_present_bool, weight_bias_present_bool, training_or_None, momentum_or_None, eps_or_None)
# Test cases format: (input_shape, input_strides_or_None, running_mean_present_bool, running_var_present_bool, weight_bias_present_bool, training_or_None, momentum_or_None, eps_or_None)
...
...
test/infinicore/ops/bilinear.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: (in1_shape, in2_shape, weight_shape, in1_strides_or_None, in2_strides_or_None, weight_strides_or_None, bias_present_bool)
# Test cases format: (in1_shape, in2_shape, weight_shape, in1_strides_or_None, in2_strides_or_None, weight_strides_or_None, bias_present_bool)
...
...
test/infinicore/ops/binary_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
# Test cases format: (input_shape, input_strides_or_None, weight_present_bool, reduction_or_None)
# Test cases format: (input_shape, input_strides_or_None, weight_present_bool, reduction_or_None)
...
...
test/infinicore/ops/binary_cross_entropy_with_logits.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, weight_present_bool, pos_weight_present_bool, reduction_or_None)
# Test cases format: (input_shape, input_strides_or_None, weight_present_bool, pos_weight_present_bool, reduction_or_None)
...
...
test/infinicore/ops/bincount.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/bitwise_left_shift.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/bitwise_right_shift.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/bitwise_xor.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/block_diag.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: (list_of_matrix_shapes, list_of_strides_or_None, dtype)
# Test cases format: (list_of_matrix_shapes, list_of_strides_or_None, dtype)
...
...
test/infinicore/ops/broadcast_to.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/bucketize.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, boundaries_len)
# Test cases format: (input_shape, input_strides_or_None, boundaries_len)
...
...
Prev
1
2
3
4
5
6
7
…
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