ageron / ageron/handson-ml2

[Chapter 15] Behaviour of Variable Length Sequences in RNN

オープン
#318 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
Jupyter Notebook
スター
30k
フォーク
13.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

In the SketchRNN Exercise, The behaviour of variable length sequences is defined very succintly.
In the solution :
![image](https://user-images.githubusercontent.com/45713796/99042624-11075900-25b3-11eb-8b00-c739231e8308.png)

This is what is used to process after batching ☝. All sequences are of different length. So I investigated a bit further into how parsing was done and how length of different sequences are handled, here parsing is done on each batch since map is applied after batching.

![image](https://user-images.githubusercontent.com/45713796/99043026-be7a6c80-25b3-11eb-84f6-045db3561741.png)

Here I have 3 Examples of different lengths. I have parsed them together using parse_example. The first output is the initial shape of these 3 Examples. Does parse_example internally take consider the largest example here` 53 by 3` and then construct a sparse tensor of size `3 by 53 by 3` which is same as `3 by 159` and fill the missing values by zero?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。