<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kento1109</author_name>
  <author_url>https://blog.hatena.ne.jp/kento1109/</author_url>
  <blog_title>機械学習・自然言語処理の勉強メモ</blog_title>
  <blog_url>https://kento1109.hatenablog.com/</blog_url>
  <categories>
    <anon>DeepLearning 0.1</anon>
    <anon>RNN</anon>
    <anon>Theano</anon>
  </categories>
  <description>前回の続き kento1109.hatenablog.com今回はLSTM層の構築から見ていく。 lstm_layer nsteps = state_below.shape[0] if state_below.ndim == 3: n_samples = state_below.shape[1] else: n_samples = 1 state_belowは、emb、 つまり、nstepsは、文書の長さ ※全文書が事前に固定の長さに合わせられている。 次のifは、Trueが想定されるので、 n_samplesは、バッチサイズ（文書サンプル数）となる。 次の関数は一旦、飛ばして state_b…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkento1109.hatenablog.com%2Fentry%2F2017%2F11%2F25%2F164215&quot; title=&quot;TheanoでLSTM② - 機械学習・自然言語処理の勉強メモ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kento1109/20171125/20171125121927.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-25 16:42:15</published>
  <title>TheanoでLSTM②</title>
  <type>rich</type>
  <url>https://kento1109.hatenablog.com/entry/2017/11/25/164215</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
