diff --git a/docs/pendencias.md b/docs/pendencias.md index c9c91de..4a1e4a5 100644 --- a/docs/pendencias.md +++ b/docs/pendencias.md @@ -91,6 +91,23 @@ JSON, então só acontece se alguém puser um valor de bloco numa lista.) | `tinyblocks-libman` | 128 libraries no catálogo. | | Servidor MCP | 16 conexões HTTP simultâneas. | +### Parâmetros de uma camada dependem de onde o bloco próprio foi chamado + +O editor monta a árvore de blocos de cada comando uma vez por (aba, bloco, +profundidade de chamada de Meus Blocos) e reaproveita (`get_rt`). Como os +parâmetros da `tinyblocks-tensor` pertencem à instância do bloco +(`tt_param(owner, ...)`), um bloco próprio "gerador" chamado do script +(profundidade 1) e de dentro de outro bloco próprio (profundidade 2) tem +**dois conjuntos de pesos**: o segundo nunca é treinado. No exemplo da GAN +o gerador é chamado sempre do laço principal. Solução possível: a chave do +parâmetro ser o bloco do editor (e não a instância do runtime). + +### Campo de texto de um bloco corta em 63 caracteres + +`EdBlock.in_text[i]` tem 64 bytes: um texto maior colado ou importado +(scratchblocks) é cortado sem aviso. Ex.: "tensor de [1, 1, 1, ...]" com +24 números virou um tensor de 21. + ## Falta implementar | Item | Estado | diff --git a/examples/gan-animais/README.md b/examples/gan-animais/README.md new file mode 100644 index 0000000..59eb139 --- /dev/null +++ b/examples/gan-animais/README.md @@ -0,0 +1,53 @@ +# GAN de animais (gatos, cães e coelhos), toda em blocos + +Uma GAN condicional (DCGAN) que aprende a desenhar gatos, cães e coelhos +de 32x32. Tudo é feito em blocos, no editor: baixar os dados, extrair, +separar os animais, treinar e mostrar as amostras com as curvas de perda. + +- `gan.sb`: o programa na notação do fórum do Scratch (scratchblocks). Para + abrir no editor: **Abrir** (aceita `.sb`), ou cole o texto com **Colar + scratchblocks**, ou pelo MCP com `add_scratchblocks`. +- `gan.json`: o mesmo programa como projeto do editor. + +## O que o programa faz + +1. **Dados** (só na primeira vez). Baixa o CIFAR-10 e o CIFAR-100 em + paralelo (`baixe ... para ...`, em segundo plano, com o progresso na + variável `baixado`), extrai os `.tar.gz` (`extraia ... para a pasta`) e + separa os animais com o bloco próprio `animais de (arquivo) ...`: lê os + registros como bytes (`tensor dos bytes de`), acha as linhas da classe + (`posições onde ... vale`), pega essas linhas (`linhas ... de`) e converte + para imagens `[n, 3, 32, 32]` entre -1 e 1. + - gatos: classe 3 do CIFAR-10 (5000 imagens); + - cães: classe 5 do CIFAR-10 (5000); + - coelhos: classe 65 do CIFAR-100 (500 de treino + 100 de teste, + repetidos 8 vezes para equilibrar: 4800). + Grava `imagens.tbt` e `classes.tbt` em `~/.cache/tinyblocks/gan-animais`. +2. **Modelo**: dois blocos próprios (Meus Blocos). + - `gerador (z) para (rótulos)`: ruído de 100 números mais o animal + (um-quente) -> camada linear -> `[128, 4, 4]` -> três convoluções + transpostas (4 -> 8 -> 16 -> 32) com batch norm e relu -> tanh. + - `discriminador (imgs) de (rótulos)`: a imagem com o animal em 3 canais + a mais -> três convoluções com passo 2 e leaky relu -> uma nota. + Cada um usa o seu grupo de parâmetros (`use o grupo de parâmetros`), e o + Adam de cada passo age só no grupo dele. +3. **Treino** (`sempre`): a cada passo, um lote de 64 imagens (espelhadas ao + acaso), um passo do discriminador (real -> 0,9; falsa -> 0) e um passo do + gerador (falsa -> 1), com BCE e Adam (taxa 0,0002, beta1 0,5). +4. **A cada 20 passos**: 24 amostras (8 de cada animal, sempre com o mesmo + ruído) no alto do palco e o gráfico das perdas de D e G embaixo + (`tinyblocks-plot`). A cada 500 passos grava os parâmetros (`gan.tbt`); ao + rodar de novo, o treino continua de onde parou. + +## Libraries usadas + +`tinyblocks-http` (com `-socket` e `-ssl` para o https), `-archive`, +`-tensor`, `-ai`, `-plot`, além das de categoria (Controle, Variáveis, +Arquivos, Sistema, Caneta...). + +## Desempenho + +Um passo de treino (lote 64, três chamadas do discriminador) leva em torno de +120 ms numa CPU de 16 threads: o editor fica a uns 8 quadros por segundo +enquanto treina. O download depende do servidor de Toronto (pode levar dezenas +de minutos); um download interrompido continua de onde parou. diff --git a/examples/gan-animais/gan.json b/examples/gan-animais/gan.json new file mode 100644 index 0000000..b85ade5 --- /dev/null +++ b/examples/gan-animais/gan.json @@ -0,0 +1,18338 @@ +{ + "format": "tinyblocks-project", + "version": 2, + "cur_tab": 1, + "tabs": [ + { + "name": "Código", + "composite": false, + "comp_id": -1, + "color": 0, + "ws_sx": 0, + "ws_sy": 0, + "blocks": [ + { + "i": 0, + "type": "Events.WhenRun", + "x": 40, + "y": 40, + "parent": -1, + "prel": -1, + "next": 1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 1, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 0, + "prel": 0, + "next": 2, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "x", + "0", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 2, + "type": "Control.Repeat", + "x": 0, + "y": 0, + "parent": 1, + "prel": 0, + "next": -1, + "sub": [ + 3, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "5", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 3, + "type": "Variables.Change", + "x": 0, + "y": 0, + "parent": 2, + "prel": 1, + "next": 4, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "x", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 4, + "type": "IO.Print", + "x": 0, + "y": 0, + "parent": 3, + "prel": 0, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 5, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "x vale", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 5, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 4, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "x", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + } + ], + "top": [ + 0 + ] + }, + { + "name": "GAN de animais", + "composite": false, + "comp_id": -1, + "color": 0, + "ws_sx": 0, + "ws_sy": 160, + "blocks": [ + { + "i": 0, + "type": "Events.WhenRun", + "x": 40, + "y": 40, + "parent": -1, + "prel": -1, + "next": 1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 1, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 0, + "prel": 0, + "next": 4, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 2, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 2, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 1, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 3, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "/.cache/tinyblocks/gan-animais", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 3, + "type": "OS.Home", + "x": 0, + "y": 0, + "parent": 2, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 4, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 1, + "prel": 0, + "next": 7, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 5, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c10", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 5, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 4, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 6, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "/cifar-10.tar.gz", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 6, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 5, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 7, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 4, + "prel": 0, + "next": 10, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 8, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c100", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 8, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 7, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 9, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "/cifar-100.tar.gz", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 9, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 8, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 10, + "type": "Control.If", + "x": 0, + "y": 0, + "parent": 7, + "prel": 0, + "next": 62, + "sub": [ + 15, + -1, + -1 + ], + "args": [ + 11, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 11, + "type": "Operators.Not", + "x": 0, + "y": 0, + "parent": 10, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 12, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 12, + "type": "FS.Exists", + "x": 0, + "y": 0, + "parent": 11, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 13, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 13, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 12, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 14, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "/imagens.tbt", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 14, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 13, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 15, + "type": "Control.If", + "x": 0, + "y": 0, + "parent": 10, + "prel": 1, + "next": 21, + "sub": [ + 19, + -1, + -1 + ], + "args": [ + 16, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 16, + "type": "Operators.Not", + "x": 0, + "y": 0, + "parent": 15, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 17, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 17, + "type": "FS.Exists", + "x": 0, + "y": 0, + "parent": 16, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 18, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 18, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 17, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c10", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 19, + "type": "Http.Download", + "x": 0, + "y": 0, + "parent": 15, + "prel": 1, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 20, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "https://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 20, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 19, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c10", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 21, + "type": "Control.If", + "x": 0, + "y": 0, + "parent": 15, + "prel": 0, + "next": 27, + "sub": [ + 25, + -1, + -1 + ], + "args": [ + 22, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 22, + "type": "Operators.Not", + "x": 0, + "y": 0, + "parent": 21, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 23, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 23, + "type": "FS.Exists", + "x": 0, + "y": 0, + "parent": 22, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 24, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 24, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 23, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c100", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 25, + "type": "Http.Download", + "x": 0, + "y": 0, + "parent": 21, + "prel": 1, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 26, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "https://www.cs.toronto.edu/~kriz/cifar-100-binary.tar.gz", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 26, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 25, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c100", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 27, + "type": "Control.RepeatUntil", + "x": 0, + "y": 0, + "parent": 21, + "prel": 0, + "next": 45, + "sub": [ + 33, + -1, + -1 + ], + "args": [ + 28, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 28, + "type": "Operators.And", + "x": 0, + "y": 0, + "parent": 27, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 29, + 31, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 29, + "type": "Http.Done", + "x": 0, + "y": 0, + "parent": 28, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 30, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 30, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 29, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c10", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 31, + "type": "Http.Done", + "x": 0, + "y": 0, + "parent": 28, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 32, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 32, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 31, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c100", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 33, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 27, + "prel": 1, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 34, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "baixado", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 34, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 33, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 35, + 39, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 35, + "type": "Number.Round", + "x": 0, + "y": 0, + "parent": 34, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 36, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 36, + "type": "Math.Mul", + "x": 0, + "y": 0, + "parent": 35, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 37, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "100", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 37, + "type": "Http.Progress", + "x": 0, + "y": 0, + "parent": 36, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 38, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 38, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 37, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c10", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 39, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 34, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 40, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "% e ", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 40, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 39, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 41, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "%", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 41, + "type": "Number.Round", + "x": 0, + "y": 0, + "parent": 40, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 42, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 42, + "type": "Math.Mul", + "x": 0, + "y": 0, + "parent": 41, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 43, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "100", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 43, + "type": "Http.Progress", + "x": 0, + "y": 0, + "parent": 42, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 44, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 44, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 43, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c100", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 45, + "type": "Control.If", + "x": 0, + "y": 0, + "parent": 27, + "prel": 0, + "next": 53, + "sub": [ + 50, + -1, + -1 + ], + "args": [ + 46, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 46, + "type": "Operators.Not", + "x": 0, + "y": 0, + "parent": 45, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 47, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 47, + "type": "Operators.Eq", + "x": 0, + "y": 0, + "parent": 46, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 48, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 48, + "type": "Http.Error", + "x": 0, + "y": 0, + "parent": 47, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 49, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 49, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 48, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c10", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 50, + "type": "Errors.Raise", + "x": 0, + "y": 0, + "parent": 45, + "prel": 1, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 51, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 51, + "type": "Http.Error", + "x": 0, + "y": 0, + "parent": 50, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 52, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 52, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 51, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c10", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 53, + "type": "Control.If", + "x": 0, + "y": 0, + "parent": 45, + "prel": 0, + "next": 61, + "sub": [ + 58, + -1, + -1 + ], + "args": [ + 54, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 54, + "type": "Operators.Not", + "x": 0, + "y": 0, + "parent": 53, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 55, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 55, + "type": "Operators.Eq", + "x": 0, + "y": 0, + "parent": 54, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 56, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 56, + "type": "Http.Error", + "x": 0, + "y": 0, + "parent": 55, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 57, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 57, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 56, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c100", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 58, + "type": "Errors.Raise", + "x": 0, + "y": 0, + "parent": 53, + "prel": 1, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 59, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 59, + "type": "Http.Error", + "x": 0, + "y": 0, + "parent": 58, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 60, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 60, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 59, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c100", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 61, + "type": "User.prepare os dados", + "x": 0, + "y": 0, + "parent": 53, + "prel": 0, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 62, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 10, + "prel": 0, + "next": 66, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 63, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "imagens", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 63, + "type": "Tensor.Load", + "x": 0, + "y": 0, + "parent": 62, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 64, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 64, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 63, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 65, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "/imagens.tbt", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 65, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 64, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 66, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 62, + "prel": 0, + "next": 70, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 67, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "classes", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 67, + "type": "Tensor.Load", + "x": 0, + "y": 0, + "parent": 66, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 68, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 68, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 67, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 69, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "/classes.tbt", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 69, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 68, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 70, + "type": "IO.Print", + "x": 0, + "y": 0, + "parent": 66, + "prel": 0, + "next": 73, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 71, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "imagens", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 71, + "type": "Tensor.Shape", + "x": 0, + "y": 0, + "parent": 70, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 72, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 72, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 71, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "imagens", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 73, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 70, + "prel": 0, + "next": 76, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 74, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "N", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 74, + "type": "Tensor.Dim", + "x": 0, + "y": 0, + "parent": 73, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 75, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 75, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 74, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "imagens", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 76, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 73, + "prel": 0, + "next": 78, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 77, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "zfixo", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 77, + "type": "Tensor.Randn", + "x": 0, + "y": 0, + "parent": 76, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "24,100", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 78, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 76, + "prel": 0, + "next": 80, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 79, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "rfixo", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 79, + "type": "Tensor.From", + "x": 0, + "y": 0, + "parent": 78, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 80, + "type": "Control.If", + "x": 0, + "y": 0, + "parent": 78, + "prel": 0, + "next": 87, + "sub": [ + 84, + -1, + -1 + ], + "args": [ + 81, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 81, + "type": "FS.Exists", + "x": 0, + "y": 0, + "parent": 80, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 82, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 82, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 81, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 83, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "/gan.tbt", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 83, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 82, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 84, + "type": "Tensor.ParamsLoad", + "x": 0, + "y": 0, + "parent": 80, + "prel": 1, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 85, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 85, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 84, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 86, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "/gan.tbt", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 86, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 85, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 87, + "type": "AI.TrainMode", + "x": 0, + "y": 0, + "parent": 80, + "prel": 0, + "next": 88, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 88, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 87, + "prel": 0, + "next": 89, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "passo", + "0", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 89, + "type": "Plot.SeriesClear", + "x": 0, + "y": 0, + "parent": 88, + "prel": 0, + "next": 90, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "D", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 90, + "type": "Plot.SeriesClear", + "x": 0, + "y": 0, + "parent": 89, + "prel": 0, + "next": 91, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "G", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 91, + "type": "Control.Forever", + "x": 0, + "y": 0, + "parent": 90, + "prel": 0, + "next": -1, + "sub": [ + 92, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 92, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 91, + "prel": 1, + "next": 96, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 93, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "idx", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 93, + "type": "Tensor.Rand", + "x": 0, + "y": 0, + "parent": 92, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 94, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "0.5", + "", + "64", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 94, + "type": "Math.Add", + "x": 0, + "y": 0, + "parent": 93, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 95, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "0.49", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 95, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 94, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "N", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 96, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 92, + "prel": 0, + "next": 101, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 97, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "x", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 97, + "type": "AI.RandFlip", + "x": 0, + "y": 0, + "parent": 96, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 98, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 98, + "type": "Tensor.Gather", + "x": 0, + "y": 0, + "parent": 97, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 100, + 99, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 99, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 98, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "idx", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 100, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 98, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "imagens", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 101, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 96, + "prel": 0, + "next": 105, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 102, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "y", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 102, + "type": "Tensor.Gather", + "x": 0, + "y": 0, + "parent": 101, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 104, + 103, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 103, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 102, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "idx", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 104, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 102, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "classes", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 105, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 101, + "prel": 0, + "next": 109, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 106, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "falsas", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 106, + "type": "User.gerador", + "x": 0, + "y": 0, + "parent": 105, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 107, + 108, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 107, + "type": "Tensor.Randn", + "x": 0, + "y": 0, + "parent": 106, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "64,100", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 108, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 106, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "y", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 109, + "type": "Tensor.ZeroGrad", + "x": 0, + "y": 0, + "parent": 105, + "prel": 0, + "next": 110, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "discriminador", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 110, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 109, + "prel": 0, + "next": 121, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 111, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "perdaD", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 111, + "type": "Tensor.Add", + "x": 0, + "y": 0, + "parent": 110, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 112, + 116, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 112, + "type": "AI.BCE", + "x": 0, + "y": 0, + "parent": 111, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 113, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "0.9", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 113, + "type": "User.discriminador", + "x": 0, + "y": 0, + "parent": 112, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 114, + 115, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 114, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 113, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "x", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 115, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 113, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "y", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 116, + "type": "AI.BCE", + "x": 0, + "y": 0, + "parent": 111, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 117, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "0", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 117, + "type": "User.discriminador", + "x": 0, + "y": 0, + "parent": 116, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 118, + 120, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 118, + "type": "Tensor.Detach", + "x": 0, + "y": 0, + "parent": 117, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 119, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 119, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 118, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "falsas", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 120, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 117, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "y", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 121, + "type": "Tensor.Backward", + "x": 0, + "y": 0, + "parent": 110, + "prel": 0, + "next": 123, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 122, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 122, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 121, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "perdaD", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 123, + "type": "AI.Adam", + "x": 0, + "y": 0, + "parent": 121, + "prel": 0, + "next": 124, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "discriminador", + "0.0002", + "0.5", + "0.999", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 124, + "type": "Tensor.ZeroGrad", + "x": 0, + "y": 0, + "parent": 123, + "prel": 0, + "next": 125, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "gerador", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 125, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 124, + "prel": 0, + "next": 130, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 126, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "perdaG", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 126, + "type": "AI.BCE", + "x": 0, + "y": 0, + "parent": 125, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 127, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 127, + "type": "User.discriminador", + "x": 0, + "y": 0, + "parent": 126, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 128, + 129, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 128, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 127, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "falsas", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 129, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 127, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "y", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 130, + "type": "Tensor.Backward", + "x": 0, + "y": 0, + "parent": 125, + "prel": 0, + "next": 132, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 131, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 131, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 130, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "perdaG", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 132, + "type": "AI.Adam", + "x": 0, + "y": 0, + "parent": 130, + "prel": 0, + "next": 133, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "gerador", + "0.0002", + "0.5", + "0.999", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 133, + "type": "Plot.Push", + "x": 0, + "y": 0, + "parent": 132, + "prel": 0, + "next": 136, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 134, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "D", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 134, + "type": "Tensor.Item", + "x": 0, + "y": 0, + "parent": 133, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 135, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 135, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 134, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "perdaD", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 136, + "type": "Plot.Push", + "x": 0, + "y": 0, + "parent": 133, + "prel": 0, + "next": 139, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 137, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "G", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 137, + "type": "Tensor.Item", + "x": 0, + "y": 0, + "parent": 136, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 138, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 138, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 137, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "perdaG", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 139, + "type": "Variables.Change", + "x": 0, + "y": 0, + "parent": 136, + "prel": 0, + "next": 140, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "passo", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 140, + "type": "Control.If", + "x": 0, + "y": 0, + "parent": 139, + "prel": 0, + "next": 151, + "sub": [ + 144, + -1, + -1 + ], + "args": [ + 141, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 141, + "type": "Operators.Eq", + "x": 0, + "y": 0, + "parent": 140, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 142, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "0", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 142, + "type": "Math.Mod", + "x": 0, + "y": 0, + "parent": 141, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 143, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "20", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 143, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 142, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "passo", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 144, + "type": "AI.EvalMode", + "x": 0, + "y": 0, + "parent": 140, + "prel": 1, + "next": 145, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 145, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 144, + "prel": 0, + "next": 149, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 146, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "amostras", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 146, + "type": "User.gerador", + "x": 0, + "y": 0, + "parent": 145, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 147, + 148, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 147, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 146, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "zfixo", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 148, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 146, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "rfixo", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 149, + "type": "AI.TrainMode", + "x": 0, + "y": 0, + "parent": 145, + "prel": 0, + "next": 150, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 150, + "type": "User.mostre as amostras", + "x": 0, + "y": 0, + "parent": 149, + "prel": 0, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 151, + "type": "Control.If", + "x": 0, + "y": 0, + "parent": 140, + "prel": 0, + "next": -1, + "sub": [ + 155, + -1, + -1 + ], + "args": [ + 152, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 152, + "type": "Operators.Eq", + "x": 0, + "y": 0, + "parent": 151, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 153, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "0", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 153, + "type": "Math.Mod", + "x": 0, + "y": 0, + "parent": 152, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 154, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "500", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 154, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 153, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "passo", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 155, + "type": "Tensor.ParamsSave", + "x": 0, + "y": 0, + "parent": 151, + "prel": 1, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 156, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 156, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 155, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 157, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "/gan.tbt", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 157, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 156, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 158, + "type": "Port.Define", + "x": 40, + "y": 2609, + "parent": -1, + "prel": -1, + "next": 159, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "prepare os dados", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 159, + "type": "IO.Print", + "x": 0, + "y": 0, + "parent": 158, + "prel": 0, + "next": 160, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "extraindo os arquivos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 160, + "type": "Archive.Extract", + "x": 0, + "y": 0, + "parent": 159, + "prel": 0, + "next": 163, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 161, + 162, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 161, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 160, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c10", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 162, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 160, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 163, + "type": "Archive.Extract", + "x": 0, + "y": 0, + "parent": 160, + "prel": 0, + "next": 166, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 164, + 165, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 164, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 163, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "c100", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 165, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 163, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 166, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 163, + "prel": 0, + "next": 167, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "gatos", + "0", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 167, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 166, + "prel": 0, + "next": 168, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "caes", + "0", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 168, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 167, + "prel": 0, + "next": 169, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "coelhos", + "0", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 169, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 168, + "prel": 0, + "next": 170, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "i", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 170, + "type": "Control.Repeat", + "x": 0, + "y": 0, + "parent": 169, + "prel": 0, + "next": 199, + "sub": [ + 171, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "5", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 171, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 170, + "prel": 1, + "next": 177, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 172, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "arq", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 172, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 171, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 173, + 174, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 173, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 172, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 174, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 172, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 175, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "/cifar-10-batches-bin/data_batch_", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 175, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 174, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 176, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + ".bin", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 176, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 175, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "i", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 177, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 171, + "prel": 0, + "next": 182, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 178, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "gatos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 178, + "type": "Tensor.Concat", + "x": 0, + "y": 0, + "parent": 177, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 179, + 180, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 179, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 178, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "gatos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 180, + "type": "User.animais de", + "x": 0, + "y": 0, + "parent": 178, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 181, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "0", + "10000", + "3073", + "1", + "3", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 181, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 180, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "arq", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 182, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 177, + "prel": 0, + "next": 187, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 183, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "caes", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 183, + "type": "Tensor.Concat", + "x": 0, + "y": 0, + "parent": 182, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 184, + 185, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 184, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 183, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "caes", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 185, + "type": "User.animais de", + "x": 0, + "y": 0, + "parent": 183, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 186, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "0", + "10000", + "3073", + "1", + "5", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 186, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 185, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "arq", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 187, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 182, + "prel": 0, + "next": 196, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 188, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "coelhos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 188, + "type": "Tensor.Concat", + "x": 0, + "y": 0, + "parent": 187, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 189, + 190, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 189, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 188, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "coelhos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 190, + "type": "User.animais de", + "x": 0, + "y": 0, + "parent": 188, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 191, + 193, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "10000", + "3074", + "2", + "65", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 191, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 190, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 192, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "/cifar-100-binary/train.bin", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 192, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 191, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 193, + "type": "Math.Mul", + "x": 0, + "y": 0, + "parent": 190, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 194, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "30740000", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 194, + "type": "Math.Sub", + "x": 0, + "y": 0, + "parent": 193, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 195, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 195, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 194, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "i", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 196, + "type": "IO.Print", + "x": 0, + "y": 0, + "parent": 187, + "prel": 0, + "next": 198, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 197, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "lote", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 197, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 196, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "i", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 198, + "type": "Variables.Change", + "x": 0, + "y": 0, + "parent": 196, + "prel": 0, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "i", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 199, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 170, + "prel": 0, + "next": 205, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 200, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "coelhos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 200, + "type": "Tensor.Concat", + "x": 0, + "y": 0, + "parent": 199, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 201, + 202, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 201, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 200, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "coelhos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 202, + "type": "User.animais de", + "x": 0, + "y": 0, + "parent": 200, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 203, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "0", + "10000", + "3074", + "2", + "65", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 203, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 202, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 204, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "/cifar-100-binary/test.bin", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 204, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 203, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 205, + "type": "Control.Repeat", + "x": 0, + "y": 0, + "parent": 199, + "prel": 0, + "next": 210, + "sub": [ + 206, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "3", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 206, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 205, + "prel": 1, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 207, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "coelhos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 207, + "type": "Tensor.Concat", + "x": 0, + "y": 0, + "parent": 206, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 208, + 209, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 208, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 207, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "coelhos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 209, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 207, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "coelhos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 210, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 205, + "prel": 0, + "next": 216, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 211, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "imagens", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 211, + "type": "Tensor.Concat", + "x": 0, + "y": 0, + "parent": 210, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 212, + 215, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 212, + "type": "Tensor.Concat", + "x": 0, + "y": 0, + "parent": 211, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 213, + 214, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 213, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 212, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "gatos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 214, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 212, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "caes", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 215, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 211, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "coelhos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 216, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 210, + "prel": 0, + "next": 228, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 217, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "classes", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 217, + "type": "Tensor.Concat", + "x": 0, + "y": 0, + "parent": 216, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 218, + 225, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 218, + "type": "Tensor.Concat", + "x": 0, + "y": 0, + "parent": 217, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 219, + 222, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 219, + "type": "Tensor.Full", + "x": 0, + "y": 0, + "parent": 218, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 220, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 220, + "type": "Tensor.Dim", + "x": 0, + "y": 0, + "parent": 219, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 221, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 221, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 220, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "gatos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 222, + "type": "Tensor.Full", + "x": 0, + "y": 0, + "parent": 218, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 223, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "2", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 223, + "type": "Tensor.Dim", + "x": 0, + "y": 0, + "parent": 222, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 224, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 224, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 223, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "caes", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 225, + "type": "Tensor.Full", + "x": 0, + "y": 0, + "parent": 217, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 226, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "3", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 226, + "type": "Tensor.Dim", + "x": 0, + "y": 0, + "parent": 225, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 227, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 227, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 226, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "coelhos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 228, + "type": "Tensor.Save", + "x": 0, + "y": 0, + "parent": 216, + "prel": 0, + "next": 232, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 229, + 230, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 229, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 228, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "imagens", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 230, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 228, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 231, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "/imagens.tbt", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 231, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 230, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 232, + "type": "Tensor.Save", + "x": 0, + "y": 0, + "parent": 228, + "prel": 0, + "next": 236, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 233, + 234, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 233, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 232, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "classes", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 234, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 232, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 235, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "/classes.tbt", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 235, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 234, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "pasta", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 236, + "type": "IO.Print", + "x": 0, + "y": 0, + "parent": 232, + "prel": 0, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 237, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "gatos, cães, coelhos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 237, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 236, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 238, + 240, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 238, + "type": "Tensor.Shape", + "x": 0, + "y": 0, + "parent": 237, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 239, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 239, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 238, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "gatos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 240, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 237, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 241, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + " ", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 241, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 240, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 242, + 244, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 242, + "type": "Tensor.Shape", + "x": 0, + "y": 0, + "parent": 241, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 243, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 243, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 242, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "caes", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 244, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 241, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 245, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + " ", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 245, + "type": "Tensor.Shape", + "x": 0, + "y": 0, + "parent": 244, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 246, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 246, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 245, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "coelhos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 247, + "type": "Port.Define", + "x": 40, + "y": 3763, + "parent": -1, + "prel": -1, + "next": 248, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "animais de", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 248, + "type": "Variables.DeclareLocal", + "x": 0, + "y": 0, + "parent": 247, + "prel": 0, + "next": 249, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "bruto", + "0", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 249, + "type": "Variables.DeclareLocal", + "x": 0, + "y": 0, + "parent": 248, + "prel": 0, + "next": 250, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "sel", + "0", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 250, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 249, + "prel": 0, + "next": 258, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 251, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "bruto", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 251, + "type": "Tensor.Bytes", + "x": 0, + "y": 0, + "parent": 250, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 252, + 253, + 254, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 252, + "type": "Port.In", + "x": 0, + "y": 0, + "parent": 251, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "arquivo", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 253, + "type": "Port.In", + "x": 0, + "y": 0, + "parent": 251, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "início", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 254, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 251, + "prel": 6, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 255, + 256, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 255, + "type": "Port.In", + "x": 0, + "y": 0, + "parent": 254, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "n", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 256, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 254, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 257, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + ",", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 257, + "type": "Port.In", + "x": 0, + "y": 0, + "parent": 256, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "tamanho", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 258, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 250, + "prel": 0, + "next": 267, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 259, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "sel", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 259, + "type": "Tensor.Gather", + "x": 0, + "y": 0, + "parent": 258, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 266, + 260, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 260, + "type": "Tensor.Where", + "x": 0, + "y": 0, + "parent": 259, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 261, + 265, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 261, + "type": "Tensor.Slice", + "x": 0, + "y": 0, + "parent": 260, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 262, + -1, + 263, + 264, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "2", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 262, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 261, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "bruto", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 263, + "type": "Port.In", + "x": 0, + "y": 0, + "parent": 261, + "prel": 6, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "col", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 264, + "type": "Port.In", + "x": 0, + "y": 0, + "parent": 261, + "prel": 7, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "col", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 265, + "type": "Port.In", + "x": 0, + "y": 0, + "parent": 260, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "rot", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 266, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 259, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "bruto", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 267, + "type": "Port.Out", + "x": 0, + "y": 0, + "parent": 258, + "prel": 0, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 268, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "imagens", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 268, + "type": "Tensor.Sub", + "x": 0, + "y": 0, + "parent": 267, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 269, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 269, + "type": "Tensor.Div", + "x": 0, + "y": 0, + "parent": 268, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 270, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "127.5", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 270, + "type": "Tensor.Reshape", + "x": 0, + "y": 0, + "parent": 269, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 271, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "-1,3,32,32", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 271, + "type": "Tensor.Slice", + "x": 0, + "y": 0, + "parent": 270, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 272, + -1, + 273, + 275, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "2", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 272, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 271, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "sel", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 273, + "type": "Math.Sub", + "x": 0, + "y": 0, + "parent": 271, + "prel": 6, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 274, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "3071", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 274, + "type": "Port.In", + "x": 0, + "y": 0, + "parent": 273, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "tamanho", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 275, + "type": "Port.In", + "x": 0, + "y": 0, + "parent": 271, + "prel": 7, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "tamanho", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 276, + "type": "Port.Define", + "x": 40, + "y": 4104, + "parent": -1, + "prel": -1, + "next": 277, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "gerador", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 277, + "type": "Tensor.Group", + "x": 0, + "y": 0, + "parent": 276, + "prel": 0, + "next": 278, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "gerador", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 278, + "type": "Variables.DeclareLocal", + "x": 0, + "y": 0, + "parent": 277, + "prel": 0, + "next": 279, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "h", + "0", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 279, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 278, + "prel": 0, + "next": 285, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 280, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "h", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 280, + "type": "AI.Linear", + "x": 0, + "y": 0, + "parent": 279, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 281, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "2048", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 281, + "type": "Tensor.Concat", + "x": 0, + "y": 0, + "parent": 280, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 282, + 283, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "2", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 282, + "type": "Port.In", + "x": 0, + "y": 0, + "parent": 281, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "z", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 283, + "type": "AI.OneHot", + "x": 0, + "y": 0, + "parent": 281, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 284, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "3", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 284, + "type": "Port.In", + "x": 0, + "y": 0, + "parent": 283, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "rótulos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 285, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 279, + "prel": 0, + "next": 290, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 286, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "h", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 286, + "type": "AI.ReLU", + "x": 0, + "y": 0, + "parent": 285, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 287, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 287, + "type": "AI.BatchNorm", + "x": 0, + "y": 0, + "parent": 286, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 288, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 288, + "type": "Tensor.Reshape", + "x": 0, + "y": 0, + "parent": 287, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 289, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "-1,128,4,4", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 289, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 288, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "h", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 290, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 285, + "prel": 0, + "next": 295, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 291, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "h", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 291, + "type": "AI.ReLU", + "x": 0, + "y": 0, + "parent": 290, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 292, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 292, + "type": "AI.BatchNorm", + "x": 0, + "y": 0, + "parent": 291, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 293, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 293, + "type": "AI.ConvT", + "x": 0, + "y": 0, + "parent": 292, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 294, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "64", + "4", + "2", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 294, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 293, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "h", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 295, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 290, + "prel": 0, + "next": 300, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 296, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "h", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 296, + "type": "AI.ReLU", + "x": 0, + "y": 0, + "parent": 295, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 297, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 297, + "type": "AI.BatchNorm", + "x": 0, + "y": 0, + "parent": 296, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 298, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 298, + "type": "AI.ConvT", + "x": 0, + "y": 0, + "parent": 297, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 299, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "32", + "4", + "2", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 299, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 298, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "h", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 300, + "type": "Port.Out", + "x": 0, + "y": 0, + "parent": 295, + "prel": 0, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 301, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "imagem", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 301, + "type": "AI.Tanh", + "x": 0, + "y": 0, + "parent": 300, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 302, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 302, + "type": "AI.ConvT", + "x": 0, + "y": 0, + "parent": 301, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 303, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "3", + "4", + "2", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 303, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 302, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "h", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 304, + "type": "Port.Define", + "x": 40, + "y": 4548, + "parent": -1, + "prel": -1, + "next": 305, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "discriminador", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 305, + "type": "Tensor.Group", + "x": 0, + "y": 0, + "parent": 304, + "prel": 0, + "next": 306, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "discriminador", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 306, + "type": "Variables.DeclareLocal", + "x": 0, + "y": 0, + "parent": 305, + "prel": 0, + "next": 307, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "d", + "0", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 307, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 306, + "prel": 0, + "next": 315, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 308, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "d", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 308, + "type": "Tensor.Concat", + "x": 0, + "y": 0, + "parent": 307, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 309, + 310, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "2", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 309, + "type": "Port.In", + "x": 0, + "y": 0, + "parent": 308, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "imgs", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 310, + "type": "Tensor.Mul", + "x": 0, + "y": 0, + "parent": 308, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 311, + 314, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 311, + "type": "Tensor.Reshape", + "x": 0, + "y": 0, + "parent": 310, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 312, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "-1,3,1,1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 312, + "type": "AI.OneHot", + "x": 0, + "y": 0, + "parent": 311, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 313, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "3", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 313, + "type": "Port.In", + "x": 0, + "y": 0, + "parent": 312, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "rótulos", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 314, + "type": "Tensor.Full", + "x": 0, + "y": 0, + "parent": 310, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "1", + "1,1,32,32", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 315, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 307, + "prel": 0, + "next": 319, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 316, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "d", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 316, + "type": "AI.Leaky", + "x": 0, + "y": 0, + "parent": 315, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 317, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "0.2", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 317, + "type": "AI.Conv", + "x": 0, + "y": 0, + "parent": 316, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 318, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "32", + "4", + "2", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 318, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 317, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "d", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 319, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 315, + "prel": 0, + "next": 324, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 320, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "d", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 320, + "type": "AI.Leaky", + "x": 0, + "y": 0, + "parent": 319, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 321, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "0.2", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 321, + "type": "AI.BatchNorm", + "x": 0, + "y": 0, + "parent": 320, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 322, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 322, + "type": "AI.Conv", + "x": 0, + "y": 0, + "parent": 321, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 323, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "64", + "4", + "2", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 323, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 322, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "d", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 324, + "type": "Variables.Set", + "x": 0, + "y": 0, + "parent": 319, + "prel": 0, + "next": 329, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 325, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "d", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 325, + "type": "AI.Leaky", + "x": 0, + "y": 0, + "parent": 324, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 326, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "0.2", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 326, + "type": "AI.BatchNorm", + "x": 0, + "y": 0, + "parent": 325, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 327, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 327, + "type": "AI.Conv", + "x": 0, + "y": 0, + "parent": 326, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 328, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "128", + "4", + "2", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 328, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 327, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "d", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 329, + "type": "Port.Out", + "x": 0, + "y": 0, + "parent": 324, + "prel": 0, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 330, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "nota", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 330, + "type": "AI.Linear", + "x": 0, + "y": 0, + "parent": 329, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 331, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 331, + "type": "Tensor.Flatten", + "x": 0, + "y": 0, + "parent": 330, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 332, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 332, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 331, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "d", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 333, + "type": "Port.Define", + "x": 40, + "y": 4992, + "parent": -1, + "prel": -1, + "next": 334, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "mostre as amostras", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 334, + "type": "Plot.Figure", + "x": 0, + "y": 0, + "parent": 333, + "prel": 0, + "next": 335, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "480", + "150", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 335, + "type": "Plot.Series", + "x": 0, + "y": 0, + "parent": 334, + "prel": 0, + "next": 336, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "D", + "laranja", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 336, + "type": "Plot.Series", + "x": 0, + "y": 0, + "parent": 335, + "prel": 0, + "next": 337, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "G", + "azul", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 337, + "type": "Plot.Title", + "x": 0, + "y": 0, + "parent": 336, + "prel": 0, + "next": 340, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 338, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 338, + "type": "Text.Concat", + "x": 0, + "y": 0, + "parent": 337, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + 339, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "perdas até o passo ", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 339, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 338, + "prel": 5, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "passo", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 340, + "type": "Plot.Legend", + "x": 0, + "y": 0, + "parent": 337, + "prel": 0, + "next": 341, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 341, + "type": "Plot.Grid", + "x": 0, + "y": 0, + "parent": 340, + "prel": 0, + "next": 342, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 342, + "type": "Stage.Clear", + "x": 0, + "y": 0, + "parent": 341, + "prel": 0, + "next": 343, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 343, + "type": "Stage.Draw", + "x": 0, + "y": 0, + "parent": 342, + "prel": 0, + "next": 346, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 344, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "0", + "90", + "1.4", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 344, + "type": "Tensor.ToImage", + "x": 0, + "y": 0, + "parent": 343, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 345, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "-1", + "1", + "8", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 345, + "type": "Variables.Get", + "x": 0, + "y": 0, + "parent": 344, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "amostras", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 346, + "type": "Stage.Draw", + "x": 0, + "y": 0, + "parent": 343, + "prel": 0, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + 347, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "0", + "-100", + "1", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + }, + { + "i": 347, + "type": "Plot.Image", + "x": 0, + "y": 0, + "parent": 346, + "prel": 4, + "next": -1, + "sub": [ + -1, + -1, + -1 + ], + "args": [ + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1 + ], + "in_text": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "lit": "" + } + ], + "top": [ + 0, + 158, + 247, + 276, + 304, + 333 + ] + } + ], + "user_blocks": [ + { + "name": "prepare os dados", + "color": 0, + "tab": -1, + "inputs": [], + "outputs": [], + "parts": [] + }, + { + "name": "animais de", + "color": 0, + "tab": -1, + "inputs": [ + "arquivo", + "início", + "n", + "tamanho", + "col", + "rot" + ], + "outputs": [ + "imagens" + ], + "parts": [ + { + "kind": 0, + "name": "arquivo" + }, + { + "kind": 2, + "name": "a" + }, + { + "kind": 2, + "name": "partir" + }, + { + "kind": 2, + "name": "de" + }, + { + "kind": 0, + "name": "início" + }, + { + "kind": 2, + "name": "com" + }, + { + "kind": 0, + "name": "n" + }, + { + "kind": 2, + "name": "registros" + }, + { + "kind": 2, + "name": "de" + }, + { + "kind": 0, + "name": "tamanho" + }, + { + "kind": 2, + "name": "bytes" + }, + { + "kind": 2, + "name": "coluna" + }, + { + "kind": 0, + "name": "col" + }, + { + "kind": 2, + "name": "rótulo" + }, + { + "kind": 0, + "name": "rot" + } + ] + }, + { + "name": "gerador", + "color": 0, + "tab": -1, + "inputs": [ + "z", + "rótulos" + ], + "outputs": [ + "imagem" + ], + "parts": [ + { + "kind": 0, + "name": "z" + }, + { + "kind": 2, + "name": "para" + }, + { + "kind": 0, + "name": "rótulos" + } + ] + }, + { + "name": "discriminador", + "color": 0, + "tab": -1, + "inputs": [ + "imgs", + "rótulos" + ], + "outputs": [ + "nota" + ], + "parts": [ + { + "kind": 0, + "name": "imgs" + }, + { + "kind": 2, + "name": "de" + }, + { + "kind": 0, + "name": "rótulos" + } + ] + }, + { + "name": "mostre as amostras", + "color": 0, + "tab": -1, + "inputs": [], + "outputs": [], + "parts": [] + } + ], + "variables": [ + { + "name": "pasta", + "kind": 2, + "num": 0, + "text": "/home/marcel/.cache/tinyblocks/gan-animais" + }, + { + "name": "c10", + "kind": 2, + "num": 0, + "text": "/home/marcel/.cache/tinyblocks/gan-animais/cifar-10.tar.gz" + }, + { + "name": "c100", + "kind": 2, + "num": 0, + "text": "/home/marcel/.cache/tinyblocks/gan-animais/cifar-100.tar.gz" + }, + { + "name": "imagens", + "kind": 0, + "num": 0, + "text": "" + }, + { + "name": "classes", + "kind": 0, + "num": 0, + "text": "" + }, + { + "name": "N", + "kind": 0, + "num": 14800, + "text": "" + }, + { + "name": "zfixo", + "kind": 0, + "num": 0, + "text": "" + }, + { + "name": "rfixo", + "kind": 0, + "num": 0, + "text": "" + }, + { + "name": "passo", + "kind": 0, + "num": 1620, + "text": "" + }, + { + "name": "idx", + "kind": 0, + "num": 0, + "text": "" + }, + { + "name": "x", + "kind": 0, + "num": 0, + "text": "" + }, + { + "name": "y", + "kind": 0, + "num": 0, + "text": "" + }, + { + "name": "falsas", + "kind": 0, + "num": 0, + "text": "" + }, + { + "name": "perdaD", + "kind": 0, + "num": 0, + "text": "" + }, + { + "name": "perdaG", + "kind": 0, + "num": 0, + "text": "" + }, + { + "name": "amostras", + "kind": 0, + "num": 0, + "text": "" + } + ] +} diff --git a/examples/gan-animais/gan.sb b/examples/gan-animais/gan.sb new file mode 100644 index 0000000..ccc0c99 --- /dev/null +++ b/examples/gan-animais/gan.sb @@ -0,0 +1,123 @@ +quando a bandeira for clicado +mude [pasta v] para (junte (pasta pessoal) com [/.cache/tinyblocks/gan-animais]) +mude [c10 v] para (junte (pasta) com [/cifar-10.tar.gz]) +mude [c100 v] para (junte (pasta) com [/cifar-100.tar.gz]) +if > then + if > then + baixe [https://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz] para (c10) + end + if > then + baixe [https://www.cs.toronto.edu/~kriz/cifar-100-binary.tar.gz] para (c100) + end + repita até que < and > + mude [baixado v] para (junte (arredonde ((progresso do download de (c10)) * (100))) com (junte [% e ] com (junte (arredonde ((progresso do download de (c100)) * (100))) com [%]))) + end + if > then + lance o erro (erro do download de (c10)) + end + if > then + lance o erro (erro do download de (c100)) + end + prepare os dados +end +mude [imagens v] para (tensor do arquivo (junte (pasta) com [/imagens.tbt])) +mude [classes v] para (tensor do arquivo (junte (pasta) com [/classes.tbt])) +escreva [imagens] (forma de (imagens)) +mude [N v] para (tamanho do eixo (1) de (imagens)) +mude [zfixo v] para (tensor aleatório normal com forma [24,100]) +mude [rfixo v] para (tensor de [1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3]) +if <(junte (pasta) com [/gan.tbt]) existe?> then + carregue os parâmetros de (junte (pasta) com [/gan.tbt]) +end +modo de treino +mude [passo v] para (0) +apague a série [D] +apague a série [G] +forever + mude [idx v] para (tensor aleatório entre (0.5) e ((N) + (0.49)) com forma [64]) + mude [x v] para (espelhe aleatoriamente (linhas (idx) de (imagens))) + mude [y v] para (linhas (idx) de (classes)) + mude [falsas v] para (gerador (tensor aleatório normal com forma [64,100]) para (y)) + zere os gradientes do grupo [discriminador] + mude [perdaD v] para ((BCE de (discriminador (x) de (y)) com alvo (0.9)) mais (BCE de (discriminador ((falsas) solto do grafo) de (y)) com alvo (0))) + calcule os gradientes de (perdaD) + passo do Adam no grupo [discriminador] com taxa (0.0002) beta1 (0.5) beta2 (0.999) + zere os gradientes do grupo [gerador] + mude [perdaG v] para (BCE de (discriminador (falsas) de (y)) com alvo (1)) + calcule os gradientes de (perdaG) + passo do Adam no grupo [gerador] com taxa (0.0002) beta1 (0.5) beta2 (0.999) + acrescente (elemento (1) de (perdaD)) à série [D] + acrescente (elemento (1) de (perdaG)) à série [G] + adicione (1) a [passo v] + if <((passo) mod (20)) = (0)> then + modo de avaliação + mude [amostras v] para (gerador (zfixo) para (rfixo)) + modo de treino + mostre as amostras + end + if <((passo) mod (500)) = (0)> then + salve os parâmetros em (junte (pasta) com [/gan.tbt]) + end +end + +define prepare os dados +escreva [extraindo os arquivos] [] +extraia (c10) para a pasta (pasta) +extraia (c100) para a pasta (pasta) +mude [gatos v] para (0) +mude [caes v] para (0) +mude [coelhos v] para (0) +mude [i v] para (1) +repita (5) vezes + mude [arq v] para (junte (pasta) com (junte [/cifar-10-batches-bin/data_batch_] com (junte (i) com [.bin]))) + mude [gatos v] para (concatene (gatos) e (animais de (arq) a partir de (0) com (10000) registros de (3073) bytes coluna (1) rótulo (3)) no eixo (1)) + mude [caes v] para (concatene (caes) e (animais de (arq) a partir de (0) com (10000) registros de (3073) bytes coluna (1) rótulo (5)) no eixo (1)) + mude [coelhos v] para (concatene (coelhos) e (animais de (junte (pasta) com [/cifar-100-binary/train.bin]) a partir de (((i) - (1)) * (30740000)) com (10000) registros de (3074) bytes coluna (2) rótulo (65)) no eixo (1)) + escreva [lote] (i) + adicione (1) a [i v] +end +mude [coelhos v] para (concatene (coelhos) e (animais de (junte (pasta) com [/cifar-100-binary/test.bin]) a partir de (0) com (10000) registros de (3074) bytes coluna (2) rótulo (65)) no eixo (1)) +repita (3) vezes + mude [coelhos v] para (concatene (coelhos) e (coelhos) no eixo (1)) +end +mude [imagens v] para (concatene (concatene (gatos) e (caes) no eixo (1)) e (coelhos) no eixo (1)) +mude [classes v] para (concatene (concatene (tensor cheio de (1) com forma (tamanho do eixo (1) de (gatos))) e (tensor cheio de (2) com forma (tamanho do eixo (1) de (caes))) no eixo (1)) e (tensor cheio de (3) com forma (tamanho do eixo (1) de (coelhos))) no eixo (1)) +salve o tensor (imagens) em (junte (pasta) com [/imagens.tbt]) +salve o tensor (classes) em (junte (pasta) com [/classes.tbt]) +escreva [gatos, cães, coelhos] (junte (forma de (gatos)) com (junte [ ] com (junte (forma de (caes)) com (junte [ ] com (forma de (coelhos)))))) + +define animais de (arquivo) a partir de (início) com (n) registros de (tamanho) bytes coluna (col) rótulo (rot) +crie variável local [bruto] com valor (0) +crie variável local [sel] com valor (0) +mude [bruto v] para (tensor dos bytes de (arquivo) a partir de (início) com forma (junte (n) com (junte [,] com (tamanho)))) +mude [sel v] para (linhas (posições onde (fatia de (bruto) no eixo (2) de (col) até (col)) vale (rot)) de (bruto)) +devolva [imagens] = ((((fatia de (sel) no eixo (2) de ((tamanho) - (3071)) até (tamanho)) com forma [-1,3,32,32]) dividido por (127.5)) menos (1)) + +define gerador (z) para (rótulos) +use o grupo de parâmetros [gerador] +crie variável local [h] com valor (0) +mude [h v] para (camada linear de (concatene (z) e (um-quente de (rótulos) com (3) classes) no eixo (2)) com (2048) saídas) +mude [h v] para (relu de (batch norm de ((h) com forma [-1,128,4,4]))) +mude [h v] para (relu de (batch norm de (convolução transposta de (h) com (64) filtros de tamanho (4) passo (2) margem (1)))) +mude [h v] para (relu de (batch norm de (convolução transposta de (h) com (32) filtros de tamanho (4) passo (2) margem (1)))) +devolva [imagem] = (tanh de (convolução transposta de (h) com (3) filtros de tamanho (4) passo (2) margem (1))) + +define discriminador (imgs) de (rótulos) +use o grupo de parâmetros [discriminador] +crie variável local [d] com valor (0) +mude [d v] para (concatene (imgs) e (((um-quente de (rótulos) com (3) classes) com forma [-1,3,1,1]) vezes (tensor cheio de (1) com forma [1,1,32,32])) no eixo (2)) +mude [d v] para (leaky relu de (convolução de (d) com (32) filtros de tamanho (4) passo (2) margem (1)) com inclinação (0.2)) +mude [d v] para (leaky relu de (batch norm de (convolução de (d) com (64) filtros de tamanho (4) passo (2) margem (1))) com inclinação (0.2)) +mude [d v] para (leaky relu de (batch norm de (convolução de (d) com (128) filtros de tamanho (4) passo (2) margem (1))) com inclinação (0.2)) +devolva [nota] = (camada linear de (achate (d)) com (1) saídas) + +define mostre as amostras +nova figura de (480) por (150) +plote a série [D] cor [laranja] +plote a série [G] cor [azul] +título da figura (junte [perdas até o passo ] com (passo)) +mostre a legenda +mostre a grade +apague tudo +desenhe (imagem do tensor (amostras) de (-1) a (1) em (8) colunas) em x (0) y (90) escala (1.4) +desenhe (imagem da figura) em x (0) y (-100) escala (1) diff --git a/libraries/tinyblocks-plot/src/tb_plot.c b/libraries/tinyblocks-plot/src/tb_plot.c index 8125a0b..3a7fcd6 100644 --- a/libraries/tinyblocks-plot/src/tb_plot.c +++ b/libraries/tinyblocks-plot/src/tb_plot.c @@ -62,7 +62,10 @@ static void series_free(Series* s) { free(s->names); } -void tb_plot_figure(int w, int h) { +/* As funcoes publicas (tb_plot_*) so chamam as static: dentro do .so uma + chamada a funcao exportada pode ir para a copia linkada no executavel + (o editor tem as duas), que tem outra figura atual. */ +static void figure_reset(int w, int h) { for (int i = 0; i < F.n; i++) series_free(&F.s[i]); F.n = 0; F.w = w < 64 ? 64 : w > 4096 ? 4096 : w; @@ -93,6 +96,8 @@ static Series* add(int kind, const float* x, const float* y, int n, const char* return s; } +void tb_plot_figure(int w, int h) { figure_reset(w, h); } + void tb_plot_line(const float* x, const float* y, int n, const char* color, const char* label) { add(S_LINE, x, y, n, color, label); } @@ -237,7 +242,7 @@ static void bounds(double* x0, double* x1, double* y0, double* y1) { if (F.ylim) { *y0 = F.y0; *y1 = F.y1; } } -TinyBlocks_Image* tb_plot_render(void) { +static TinyBlocks_Image* render(void) { int W = F.w, H = F.h; TinyBlocks_Image* img = tb_image_new(W, H, 4); if (!img) return NULL; @@ -350,6 +355,8 @@ TinyBlocks_Image* tb_plot_render(void) { return img; } +TinyBlocks_Image* tb_plot_render(void) { return render(); } + /* == Valores ========================================================== */ /* Numeros de um valor: tensor, lista ou texto "1, 2, 3"; malloc ou NULL */ static float* numbers(TinyBlocks* rt, TinyBlocks_Value v, int* n) { @@ -452,7 +459,7 @@ static Named* named(const char* name, bool create) { /* == Blocos =========================================================== */ static void eval_figure(TinyBlocks_Block* self, TinyBlocks* rt) { - tb_plot_figure((int)tb_block_input_integer(self, rt, 0, 480), (int)tb_block_input_integer(self, rt, 1, 320)); + figure_reset((int)tb_block_input_integer(self, rt, 0, 480), (int)tb_block_input_integer(self, rt, 1, 320)); self->dirty = false; } @@ -576,14 +583,14 @@ static void eval_series_len(TinyBlocks_Block* self, TinyBlocks* rt) { static void eval_image(TinyBlocks_Block* self, TinyBlocks* rt) { (void)rt; - TinyBlocks_Image* img = tb_plot_render(); + TinyBlocks_Image* img = render(); if (img) { tb_block_set_output(self, 0, tb_value_image(img)); tb_image_release(img); } self->dirty = false; } static void eval_save(TinyBlocks_Block* self, TinyBlocks* rt) { const char* path = tb_block_input_text(self, rt, 0); - TinyBlocks_Image* img = tb_plot_render(); + TinyBlocks_Image* img = render(); if (!img || !tb_image_save(img, path)) tinyblocks_set_error(rt, "não gravou '%s' (o formato da extensão está carregado?)", path); tb_image_release(img); @@ -652,7 +659,7 @@ static bool plot_init(TinyBlocks* rt, TinyBlocks_LibraryBlock* lib) { static void plot_deinit(TinyBlocks* rt, TinyBlocks_LibraryBlock* lib) { (void)rt; (void)lib; - tb_plot_figure(480, 320); + figure_reset(480, 320); free(F.s); F.s = NULL; F.cap = 0; for (int i = 0; i < s_named_n; i++) free(s_named[i].v); free(s_named); s_named = NULL; s_named_n = 0;