<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>HTN20190109</author_name>
  <author_url>https://blog.hatena.ne.jp/HTN20190109/</author_url>
  <blog_title>HTN20190109の日記</blog_title>
  <blog_url>https://htn20190109.hatenablog.com/</blog_url>
  <categories>
    <anon>DL</anon>
  </categories>
  <description>import numpy as np def sigmoid(x): return 1 / (1 + np.exp(-x)) def forward(x, h_prev, c_prev, Wx, Wh, b): &quot;&quot;&quot; x: (N, D) h_prev: (N, H) c_prev: (N, H) Wx: (D, 4H) Wh: (H, 4H) b: (4H,) &quot;&quot;&quot; N, H = h_prev.shape # 一括計算 A = np.dot(x, Wx) + np.dot(h_prev, Wh) + b # (N, 4H) # 分割 f = A[:, :H] g = A[:, H:2*H]…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2026%2F05%2F06%2F103257&quot; title=&quot;LSTM - HTN20190109の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-05-06 10:32:57</published>
  <title>LSTM</title>
  <type>rich</type>
  <url>https://htn20190109.hatenablog.com/entry/2026/05/06/103257</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
