第三章-利用autograd/Variable實現線性迴歸

import torch as t from torch.autograd import Variable as V from matplotlib import pyplot as plt from IPython import display #爲了在不同的計算機上運行時下面的輸出一致,設置隨機種子,每次得到的隨機數是固定的 t.manual_seed(1000) def get_fake
相關文章
相關標籤/搜索