{"author_url":"https://blog.hatena.ne.jp/upura/","version":"1.0","author_name":"upura","height":"190","categories":["python","\u81ea\u7136\u8a00\u8a9e\u51e6\u7406"],"description":"\u554f\u984c\u6587 nlp100.github.io \u554f\u984c\u306e\u6982\u8981 \u5358\u5c64\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u5b9a\u7fa9\u3057\u3001\u4e88\u6e2c\u3057\u307e\u3059\u3002 import joblib import numpy as np import torch import torch.nn as nn X_train = joblib.load('ch08/X_train.joblib') X_train = torch.from_numpy(X_train.astype(np.float32)).clone() X = X_train[0:4] net = nn.Sequential(nn.Linear(X.size()[1], 4), nn.Softm\u2026","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fupura.hatenablog.com%2Fentry%2F2023%2F11%2F05%2F210119\" title=\"\u8a00\u8a9e\u51e6\u7406100\u672c\u30ce\u30c3\u30af 2020\u300c71. \u5358\u5c64\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u3088\u308b\u4e88\u6e2c\u300d - u++\u306e\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://upura.hatenablog.com/entry/2023/11/05/210119","blog_title":"u++\u306e\u5099\u5fd8\u9332","type":"rich","provider_name":"Hatena Blog","image_url":null,"title":"\u8a00\u8a9e\u51e6\u7406100\u672c\u30ce\u30c3\u30af 2020\u300c71. \u5358\u5c64\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u3088\u308b\u4e88\u6e2c\u300d","width":"100%","published":"2023-11-05 21:01:19","blog_url":"https://upura.hatenablog.com/"}