{"url":"https://htn20190109.hatenablog.com/entry/2025/09/27/224625","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2025%2F09%2F27%2F224625\" title=\"2\u5024\u5206\u985e - 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>","type":"rich","width":"100%","provider_name":"Hatena Blog","version":"1.0","blog_url":"https://htn20190109.hatenablog.com/","provider_url":"https://hatena.blog","published":"2025-09-27 22:46:25","blog_title":"HTN20190109\u306e\u65e5\u8a18","title":"2\u5024\u5206\u985e","description":"\u53c2\u8003\u6587\u732e: PyTorch & \u6df1\u5c64\u5b66\u7fd2\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u8d64\u77f3\u96c5\u5178\u8457 \u65e5\u7d4cBP\u793e pip3.11 install torchvizpip3.11 install torchinfo python3.11 import numpy as npimport torchimport torch.nn as nnimport torch.optim as optim # \u30c7\u30fc\u30bf\u6e96\u5099x_data = torch.randn(100,2) rng = np.random.default_rng()y_data = rng.integers(2, size=(100, 1) )y_data = torch.t\u2026","height":"190","author_name":"HTN20190109","categories":["DL"],"author_url":"https://blog.hatena.ne.jp/HTN20190109/","image_url":null}