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 10:21:12 -0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
98da1d77e3301e3a8cf898415b7d29c8e7cc2b07
98da1d77
1 parent
f01c7388
Ejemplo NPUs
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
ejemplo-npu/mnist_npu_example.py
ejemplo-npu/mnist_npu_example.py
View file @
98da1d7
...
...
@@ -118,7 +118,7 @@ def main():
transforms
.
ToTensor
(),
transforms
.
Normalize
((
0.1307
,),
(
0.3081
,)),
])
dataset1
=
datasets
.
MNIST
(
'../data'
,
train
=
True
,
download
=
Tru
e
,
dataset1
=
datasets
.
MNIST
(
'../data'
,
train
=
True
,
download
=
Fals
e
,
transform
=
transform
)
dataset2
=
datasets
.
MNIST
(
'../data'
,
train
=
False
,
transform
=
transform
)
...
...
Please
register
or
login
to post a comment