发布于 2022-04-16
摘要
GPU计算 !nvidia-smi # 对Linux/macOS用户有效 import torch from torch impo …
莫贪几两钱 误了月儿圆
GPU计算 !nvidia-smi # 对Linux/macOS用户有效 import torch from torch impo …
读取和存储 import torch from torch import nn print(torch.__version__) …
import torch from torch import nn print(torch.__version__) 1.11.0 …
import torch from torch import nn from torch.nn import init print …
import torch from torch import nn print(torch.__version__) 1.11.0 …
%matplotlib inline import torch import torch.nn as nn import nump …
权重衰减 %matplotlib inline import torch import torch.nn as nn import …
多项式函数拟合实验 %matplotlib inline import torch import numpy as np impo …
多层感知机 %matplotlib inline import torch import numpy as np import m …
import torch import torchvision import torchvision.transforms as …