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
bd0c922a
Commit
bd0c922a
authored
Feb 10, 2026
by
zhangyue
Browse files
issue/1008: mv "import infinicore" ahead of "import" torch
parent
5675a4af
Changes
274
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
20 additions
and
20 deletions
+20
-20
test/infinicore/ops/hardshrink.py
test/infinicore/ops/hardshrink.py
+1
-1
test/infinicore/ops/hardsigmoid.py
test/infinicore/ops/hardsigmoid.py
+1
-1
test/infinicore/ops/hardswish.py
test/infinicore/ops/hardswish.py
+1
-1
test/infinicore/ops/hardtanh.py
test/infinicore/ops/hardtanh.py
+1
-1
test/infinicore/ops/heaviside.py
test/infinicore/ops/heaviside.py
+1
-1
test/infinicore/ops/hinge_embedding_loss.py
test/infinicore/ops/hinge_embedding_loss.py
+1
-1
test/infinicore/ops/histc.py
test/infinicore/ops/histc.py
+1
-1
test/infinicore/ops/histogram.py
test/infinicore/ops/histogram.py
+1
-1
test/infinicore/ops/hsplit.py
test/infinicore/ops/hsplit.py
+1
-1
test/infinicore/ops/huber_loss.py
test/infinicore/ops/huber_loss.py
+1
-1
test/infinicore/ops/hypot.py
test/infinicore/ops/hypot.py
+1
-1
test/infinicore/ops/index_add.py
test/infinicore/ops/index_add.py
+1
-1
test/infinicore/ops/index_copy.py
test/infinicore/ops/index_copy.py
+1
-1
test/infinicore/ops/index_reduce.py
test/infinicore/ops/index_reduce.py
+1
-1
test/infinicore/ops/index_select.py
test/infinicore/ops/index_select.py
+1
-1
test/infinicore/ops/inner.py
test/infinicore/ops/inner.py
+1
-1
test/infinicore/ops/instance_norm.py
test/infinicore/ops/instance_norm.py
+1
-1
test/infinicore/ops/interpolate.py
test/infinicore/ops/interpolate.py
+1
-1
test/infinicore/ops/inverse.py
test/infinicore/ops/inverse.py
+1
-1
test/infinicore/ops/isclose.py
test/infinicore/ops/isclose.py
+1
-1
No files found.
test/infinicore/ops/hardshrink.py
View file @
bd0c922a
...
...
@@ -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/hardsigmoid.py
View file @
bd0c922a
...
...
@@ -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/hardswish.py
View file @
bd0c922a
...
...
@@ -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/hardtanh.py
View file @
bd0c922a
...
...
@@ -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/heaviside.py
View file @
bd0c922a
...
...
@@ -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/hinge_embedding_loss.py
View file @
bd0c922a
...
...
@@ -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, target_shape, input_strides_or_None, target_strides_or_None, margin_or_None)
...
...
test/infinicore/ops/histc.py
View file @
bd0c922a
...
...
@@ -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, bins, min_val, max_val)
...
...
test/infinicore/ops/histogram.py
View file @
bd0c922a
...
...
@@ -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, bins_or_sequence, range_or_None)
...
...
test/infinicore/ops/hsplit.py
View file @
bd0c922a
...
...
@@ -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, sections_or_None)
...
...
test/infinicore/ops/huber_loss.py
View file @
bd0c922a
...
...
@@ -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, target_shape, input_strides_or_None, target_strides_or_None, delta_or_None)
...
...
test/infinicore/ops/hypot.py
View file @
bd0c922a
...
...
@@ -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/index_add.py
View file @
bd0c922a
...
...
@@ -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/index_copy.py
View file @
bd0c922a
...
...
@@ -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/index_reduce.py
View file @
bd0c922a
...
...
@@ -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/index_select.py
View file @
bd0c922a
...
...
@@ -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, dim, index_shape)
...
...
test/infinicore/ops/inner.py
View file @
bd0c922a
...
...
@@ -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: (a_shape, b_shape, a_strides_or_None, b_strides_or_None)
...
...
test/infinicore/ops/instance_norm.py
View file @
bd0c922a
...
...
@@ -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, running_mean_present_bool, running_var_present_bool, weight_bias_present_bool, use_input_stats_or_None, momentum_or_None, eps_or_None)
...
...
test/infinicore/ops/interpolate.py
View file @
bd0c922a
...
...
@@ -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/inverse.py
View file @
bd0c922a
...
...
@@ -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/isclose.py
View file @
bd0c922a
...
...
@@ -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
,
...
...
Prev
1
…
3
4
5
6
7
8
9
10
11
…
14
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