Skip to content

Commit 761d679

Browse files
donglixpsoumith
authored andcommitted
code syntax error in document (serialization.rst) (pytorch#937)
1 parent 0d179aa commit 761d679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/notes/serialization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The second saves and loads the entire model::
2727

2828
Then later::
2929

30-
the_model = torch.load(PATH))
30+
the_model = torch.load(PATH)
3131

3232
However in this case, the serialized data is bound to the specific classes
3333
and the exact directory structure used, so it can break in various ways when

0 commit comments

Comments
 (0)