英文版py文件来这里找课程15miniflow sigmoid function.pdfVIP

  • 0
  • 0
  • 约3.42千字
  • 约 5页
  • 2021-12-09 发布于北京
  • 举报

英文版py文件来这里找课程15miniflow sigmoid function.pdf

Heres my solution to the last quiz: class Linear(Node): def __init__(self, X, W, b): # Notice the ordering of the inputs passed to the # Node constructor. Node.__init__(self, [X, W, b]) def forward(self): X = self.inbound_nodes[0].value W = self.inbound_nodes[1].value b = self.inbound_nodes[2].value self.value = np.dot(X, W) + b Nothing fancy in my solution. I pulled the value of the X, W and b from their respective inputs. I used np.dot to handle the matrix multiplication. Neural

文档评论(0)

1亿VIP精品文档

相关文档