问题记录:TypeError: __init__() takes 1 positional argument but 3 were given
classLinearRegressionModel(nn.Module):#继承nn模块def_init_(self,input_dim,output_dim):super(LinearRegressionModel,self)._init_()self.linear=nn.Linear(input_dim,output_dim)defforward(self,x):out=self.linea