{"type":"rich","url":"https://htn20190109.hatenablog.com/entry/2025/11/16/231046","image_url":null,"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","provider_url":"https://hatena.blog","author_name":"HTN20190109","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>","blog_url":"https://htn20190109.hatenablog.com/","width":"100%","categories":["DL"],"author_url":"https://blog.hatena.ne.jp/HTN20190109/","published":"2025-11-16 23:10:46","title":"\u53cc\u65b9\u5411RNN","version":"1.0","height":"190","provider_name":"Hatena Blog","blog_title":"HTN20190109\u306e\u65e5\u8a18"}