ageron / ageron/handson-ml2

[Chapter 15] Behaviour of Variable Length Sequences in RNN

Aberta
#318 1 comentário 0 reações 0 responsáveis Ver no GitHub
question
Linguagem predominante
Jupyter Notebook
Estrelas
30k
Forks
13.1k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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?

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.