原创 線性迴歸模型使用pytorch的簡潔實現

import torch from torch import nn import numpy as np torch.manual_seed(1) print(torch.__version__) torch.set_defau