摘要:
相关包 import torch import pandas as pd import numpy as np import matplotlib.pyplot as plt from torch import nn import torch.nn.functional as F from torc 阅读全文
posted @ 2021-01-27 16:04
pbc的成长之路
阅读(179)
评论(0)
推荐(0)
摘要:
导入相关包 import torch import pandas as pd import numpy as np import matplotlib.pyplot as plt from torch import nn import torch.nn.functional as F from to 阅读全文
posted @ 2021-01-27 15:58
pbc的成长之路
阅读(244)
评论(0)
推荐(0)
摘要:
TensorDataset 导入相关包 from torch.utils.data import TensorDataset 特征与标签合并 HRdataset = TensorDataset(X, Y) 模型训练 for epoch in range(epochs): for i in range 阅读全文
posted @ 2021-01-27 09:07
pbc的成长之路
阅读(1800)
评论(0)
推荐(0)

浙公网安备 33010602011771号