Round3Fight / tutorials /_static /img /seq-seq-images /decoder-network.dot
Tyl3rDrden's picture
Upload folder using huggingface_hub
578b6a8 verified
digraph G {
// Main styles
nodesep=0.3; ranksep=0.15;
node [shape=rect, fillcolor=darkorange, color=white, style=filled, fontsize=11, fontname="arial", height=0.2];
edge [color=gray, arrowsize=0.5];
// Layout
{rank=same;input;prev_hidden}
input -> embedding;
embedding -> relu;
relu -> gru;
prev_hidden -> gru;
gru -> out;
gru -> hidden;
out -> softmax;
softmax -> output;
{rank=same;output;hidden}
// Layer nodes
embedding [fillcolor=dodgerblue, fontcolor=white];
gru [fillcolor=dodgerblue, fontcolor=white];
out [fillcolor=dodgerblue, fontcolor=white];
// Function nodes
relu [fillcolor=palegreen];
softmax [fillcolor=palegreen];
}