{"version":"1.0","provider_name":"Hatena Blog","published":"2025-11-16 23:10:46","description":"import torchimport torch.nn as nn class BiRNN(nn.Module): def __init__(self, input_size, hidden_size, num_layers, num_classes): super().__init__() self.hidden_size = hidden_size self.num_layers = num_layers self.rnn = nn.RNN( input_size, hidden_size, num_layers, batch_first=True, bidirectional=True \u2026","height":"190","categories":["DL"],"blog_title":"HTN20190109\u306e\u65e5\u8a18","title":"\u53cc\u65b9\u5411RNN","width":"100%","author_url":"https://blog.hatena.ne.jp/HTN20190109/","provider_url":"https://hatena.blog","blog_url":"https://htn20190109.hatenablog.com/","type":"rich","url":"https://htn20190109.hatenablog.com/entry/2025/11/16/231046","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2025%2F11%2F16%2F231046\" title=\"\u53cc\u65b9\u5411RNN - 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>","author_name":"HTN20190109","image_url":null}