{"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","version":"1.0","url":"https://htn20190109.hatenablog.com/entry/2025/09/27/220155","published":"2025-09-27 22:01:55","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2025%2F09%2F27%2F220155\" title=\"\u7dda\u5f62\u56de\u5e30 - 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>","height":"190","width":"100%","author_url":"https://blog.hatena.ne.jp/HTN20190109/","author_name":"HTN20190109","blog_title":"HTN20190109\u306e\u65e5\u8a18","title":"\u7dda\u5f62\u56de\u5e30","type":"rich","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 = torch.randn(506,1)y = torch.randn(506,1) print(x[:5,:])print(y[:5,:]) # \u30e2\u30c7\u30eb\u5b9a\u7fa9 n_input= 1n_output = 1 class Ne\u2026","image_url":null,"blog_url":"https://htn20190109.hatenablog.com/","categories":["DL"]}