Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 00_pytorch_fundamentals.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2099,6 +2099,8 @@
"source": [
"> **Note:** You may find some methods such as `torch.mean()` require tensors to be in `torch.float32` (the most common) or another specific datatype, otherwise the operation will fail. \n",
"\n",
".mean has an optional parameter called dtype which tells the desired data type of returned tensor and also casts the input tensor to the specified dtype."
"\n"
"You can also do the same as above with `torch` methods."
]
},
Expand Down