rnn_2level_data.dot 1.3 KB
Newer Older
_青葱's avatar
_青葱 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
digraph G {
  chapter [label="chapter"]

  subgraph cluster0 {
    label = "paragraph 0"

    top_rnn0[label="top rnn step 0" shape=box]

    p0 [label="paragraph 0"]
    p1 [label="paragraph 1"]
  }

  subgraph cluster1{
    label = "paragraph 1"

    top_rnn1[label="top rnn step 1" shape=box]

    p2 [label="paragraph 0"]
    p3 [label="paragraph 1"]
  }

  subgraph cluster_p0 {
    label = "sentence 0"

    low_rnn0 [label="low rnn step 0" shape=box]
    s00 [label="sentence 0"]
    s01 [label="sentence 1"]

    low_rnn0 -> s00
    low_rnn0 -> s01
  }

  subgraph cluster_p1 {
    label = "sentence 1"
    low_rnn1 [label="low rnn step 1" shape=box]
    s10 [label="sentence 0"]
    s11 [label="sentence 1"]
    low_rnn1 -> s10
    low_rnn1 -> s11
  }

  subgraph cluster_p2 {
    label = "sentence 1"
    low_rnn2 [label="low rnn step 0" shape=box]
    s20 [label="sentence 0"]
    s21 [label="sentence 1"]
    low_rnn2 -> s20
    low_rnn2 -> s21
  }

  subgraph cluster_p3 {
    label = "sentence 1"
    low_rnn3 [label="low rnn step 1" shape=box]
    s30 [label="sentence 0"]
    s31 [label="sentence 1"]
    low_rnn3 -> s30
    low_rnn3 -> s31
  }


  chapter -> top_rnn0
  chapter -> top_rnn1

  top_rnn0 -> p0
  top_rnn0 -> p1
  top_rnn1 -> p2
  top_rnn1 -> p3


  p0 -> low_rnn0
  p1 -> low_rnn1
  p2 -> low_rnn2
  p3 -> low_rnn3

}