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
642e8de0
Commit
642e8de0
authored
Feb 25, 2025
by
xgqdut2016
Browse files
issue/66: add lib_random_sample()
parent
c0811ed4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
test/infiniop/random_sample.py
test/infiniop/random_sample.py
+2
-0
No files found.
test/infiniop/random_sample.py
View file @
642e8de0
...
@@ -171,6 +171,8 @@ def test(
...
@@ -171,6 +171,8 @@ def test(
)
)
)
)
lib_random_sample
()
if
torch_device
==
"npu"
:
if
torch_device
==
"npu"
:
synchronize_device
(
torch_device
)
synchronize_device
(
torch_device
)
...
...
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