x = x.mm(self.w) #x与w相乘 注:x必须是tensor,才可以应用该方法。 参考链接: https://blog.youkuaiyun.com/genous110/article/details/87801605