摘要:
# 线性回归计算 # 生成数据集 import random import torch from torch.utils import data from d2l import torch as d2l true_w = torch.tensor([2, -3.4]) true_b = 4.2 fe 阅读全文
摘要:
# import torch import math # import time import numpy as np from d2l import torch as d2l def normal(x, mu, sigma): p = 1 / math.sqrt(2 * math.pi * sig 阅读全文