{"description":"python3.11 import numpy as np class Sigmoid: def __init__(self): self.out = None def forward(self,x): out = 1 / (1+np.exp(-x) ) self.out = out return out def backward(self, dout): dx = dout * (1.0-self.out) * self.out return dx x1 = np.arange(-10,10,2) s = Sigmoid()y1 = s.forward(x1)z1 = s.backward(\u2026","author_url":"https://blog.hatena.ne.jp/HTN20190109/","categories":["DL"],"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2025%2F08%2F19%2F224035\" title=\"\u6d3b\u6027\u5316\u95a2\u6570\u30af\u30e9\u30b9 - HTN20190109\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u6d3b\u6027\u5316\u95a2\u6570\u30af\u30e9\u30b9","blog_url":"https://htn20190109.hatenablog.com/","blog_title":"HTN20190109\u306e\u65e5\u8a18","width":"100%","author_name":"HTN20190109","version":"1.0","image_url":null,"published":"2025-08-19 22:40:35","url":"https://htn20190109.hatenablog.com/entry/2025/08/19/224035","height":"190"}