Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Carlos-Francisco Méndez-Cruz
/
curso-alianza-2024
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
cmendezc
2024-10-14 20:04:59 -0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6e7c210e5263f4a782b84910fdffd86bb4fd5b30
6e7c210e
1 parent
1b726367
NPU examples
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
ejemplo-npu/quick_verification.py
ejemplo-npu/quick_verification.py
0 → 100644
View file @
6e7c210
import
torch
import
torch.npu
x
=
torch
.
randn
(
2
,
2
)
.
npu
()
y
=
torch
.
randn
(
2
,
2
)
.
npu
()
z
=
x
.
mm
(
y
)
print
(
z
)
\ No newline at end of file
Please
register
or
login
to post a comment