step1: load data (generate) ############ import torch import torch.nn as nn ... mx=np.array([torch.min(X),torch.max(X)]) # if option==0: # [w,b]=[-7,5] ...
確定! 回上一頁