File tree Expand file tree Collapse file tree 8 files changed +76
-70
lines changed
Expand file tree Collapse file tree 8 files changed +76
-70
lines changed Original file line number Diff line number Diff line change @@ -838,6 +838,7 @@ <h2 id="imports-and-utilities" class="anchor">Imports and Utilities </h2>
838838 < pre style ="line-height: 125%; "> < span style ="color: #008000; font-weight: bold "> import</ span > < span style ="color: #0000FF; font-weight: bold "> torch</ span >
839839< span style ="color: #008000; font-weight: bold "> import</ span > < span style ="color: #0000FF; font-weight: bold "> torch.nn</ span > < span style ="color: #008000; font-weight: bold "> as</ span > < span style ="color: #0000FF; font-weight: bold "> nn</ span >
840840< span style ="color: #008000; font-weight: bold "> import</ span > < span style ="color: #0000FF; font-weight: bold "> torch.nn.functional</ span > < span style ="color: #008000; font-weight: bold "> as</ span > < span style ="color: #0000FF; font-weight: bold "> F</ span >
841+ < span style ="color: #008000; font-weight: bold "> import</ span > < span style ="color: #0000FF; font-weight: bold "> torchvision</ span >
841842< span style ="color: #008000; font-weight: bold "> from</ span > < span style ="color: #0000FF; font-weight: bold "> torchvision</ span > < span style ="color: #008000; font-weight: bold "> import</ span > datasets, transforms
842843< span style ="color: #008000; font-weight: bold "> from</ span > < span style ="color: #0000FF; font-weight: bold "> torch.utils.data</ span > < span style ="color: #008000; font-weight: bold "> import</ span > DataLoader
843844< span style ="color: #008000; font-weight: bold "> import</ span > < span style ="color: #0000FF; font-weight: bold "> matplotlib.pyplot</ span > < span style ="color: #008000; font-weight: bold "> as</ span > < span style ="color: #0000FF; font-weight: bold "> plt</ span >
Original file line number Diff line number Diff line change @@ -805,6 +805,7 @@ <h2 id="imports-and-utilities">Imports and Utilities </h2>
805805 < pre style ="font-size: 80%; line-height: 125%; "> < span style ="color: #8B008B; font-weight: bold "> import</ span > < span style ="color: #008b45; text-decoration: underline "> torch</ span >
806806< span style ="color: #8B008B; font-weight: bold "> import</ span > < span style ="color: #008b45; text-decoration: underline "> torch.nn</ span > < span style ="color: #8B008B; font-weight: bold "> as</ span > < span style ="color: #008b45; text-decoration: underline "> nn</ span >
807807< span style ="color: #8B008B; font-weight: bold "> import</ span > < span style ="color: #008b45; text-decoration: underline "> torch.nn.functional</ span > < span style ="color: #8B008B; font-weight: bold "> as</ span > < span style ="color: #008b45; text-decoration: underline "> F</ span >
808+ < span style ="color: #8B008B; font-weight: bold "> import</ span > < span style ="color: #008b45; text-decoration: underline "> torchvision</ span >
808809< span style ="color: #8B008B; font-weight: bold "> from</ span > < span style ="color: #008b45; text-decoration: underline "> torchvision</ span > < span style ="color: #8B008B; font-weight: bold "> import</ span > datasets, transforms
809810< span style ="color: #8B008B; font-weight: bold "> from</ span > < span style ="color: #008b45; text-decoration: underline "> torch.utils.data</ span > < span style ="color: #8B008B; font-weight: bold "> import</ span > DataLoader
810811< span style ="color: #8B008B; font-weight: bold "> import</ span > < span style ="color: #008b45; text-decoration: underline "> matplotlib.pyplot</ span > < span style ="color: #8B008B; font-weight: bold "> as</ span > < span style ="color: #008b45; text-decoration: underline "> plt</ span >
Original file line number Diff line number Diff line change @@ -784,6 +784,7 @@ <h2 id="imports-and-utilities">Imports and Utilities </h2>
784784 < pre style ="line-height: 125%; "> < span style ="color: #8B008B; font-weight: bold "> import</ span > < span style ="color: #008b45; text-decoration: underline "> torch</ span >
785785< span style ="color: #8B008B; font-weight: bold "> import</ span > < span style ="color: #008b45; text-decoration: underline "> torch.nn</ span > < span style ="color: #8B008B; font-weight: bold "> as</ span > < span style ="color: #008b45; text-decoration: underline "> nn</ span >
786786< span style ="color: #8B008B; font-weight: bold "> import</ span > < span style ="color: #008b45; text-decoration: underline "> torch.nn.functional</ span > < span style ="color: #8B008B; font-weight: bold "> as</ span > < span style ="color: #008b45; text-decoration: underline "> F</ span >
787+ < span style ="color: #8B008B; font-weight: bold "> import</ span > < span style ="color: #008b45; text-decoration: underline "> torchvision</ span >
787788< span style ="color: #8B008B; font-weight: bold "> from</ span > < span style ="color: #008b45; text-decoration: underline "> torchvision</ span > < span style ="color: #8B008B; font-weight: bold "> import</ span > datasets, transforms
788789< span style ="color: #8B008B; font-weight: bold "> from</ span > < span style ="color: #008b45; text-decoration: underline "> torch.utils.data</ span > < span style ="color: #8B008B; font-weight: bold "> import</ span > DataLoader
789790< span style ="color: #8B008B; font-weight: bold "> import</ span > < span style ="color: #008b45; text-decoration: underline "> matplotlib.pyplot</ span > < span style ="color: #8B008B; font-weight: bold "> as</ span > < span style ="color: #008b45; text-decoration: underline "> plt</ span >
Original file line number Diff line number Diff line change @@ -861,6 +861,7 @@ <h2 id="imports-and-utilities">Imports and Utilities </h2>
861861 < pre style ="line-height: 125%; "> < span style ="color: #008000; font-weight: bold "> import</ span > < span style ="color: #0000FF; font-weight: bold "> torch</ span >
862862< span style ="color: #008000; font-weight: bold "> import</ span > < span style ="color: #0000FF; font-weight: bold "> torch.nn</ span > < span style ="color: #008000; font-weight: bold "> as</ span > < span style ="color: #0000FF; font-weight: bold "> nn</ span >
863863< span style ="color: #008000; font-weight: bold "> import</ span > < span style ="color: #0000FF; font-weight: bold "> torch.nn.functional</ span > < span style ="color: #008000; font-weight: bold "> as</ span > < span style ="color: #0000FF; font-weight: bold "> F</ span >
864+ < span style ="color: #008000; font-weight: bold "> import</ span > < span style ="color: #0000FF; font-weight: bold "> torchvision</ span >
864865< span style ="color: #008000; font-weight: bold "> from</ span > < span style ="color: #0000FF; font-weight: bold "> torchvision</ span > < span style ="color: #008000; font-weight: bold "> import</ span > datasets, transforms
865866< span style ="color: #008000; font-weight: bold "> from</ span > < span style ="color: #0000FF; font-weight: bold "> torch.utils.data</ span > < span style ="color: #008000; font-weight: bold "> import</ span > DataLoader
866867< span style ="color: #008000; font-weight: bold "> import</ span > < span style ="color: #0000FF; font-weight: bold "> matplotlib.pyplot</ span > < span style ="color: #008000; font-weight: bold "> as</ span > < span style ="color: #0000FF; font-weight: bold "> plt</ span >
You can’t perform that action at this time.
0 commit comments