-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TorchFX] Graph tests extended with edge shapes
- Loading branch information
1 parent
393c2dd
commit ef526ac
Showing
44 changed files
with
17,392 additions
and
17,405 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
.../reference_graphs/extracted_graphs/ConvolutionWithAllConstantInputsModelconv2d_conv2d.dot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
strict digraph { | ||
"0 _param_constant0" [id=0, type=get_attr]; | ||
"1 add" [id=1, type=add]; | ||
"2 conv2d_input" [id=2, type=input]; | ||
"3 conv2d" [id=3, type=conv2d]; | ||
"4 output" [id=4, type=output]; | ||
"0 _param_constant0" -> "1 add" [label="(1, 1, 1, 1)", style=solid]; | ||
"1 add" -> "3 conv2d" [label="(1, 1, 1, 1)", style=solid]; | ||
"2 conv2d_input" -> "3 conv2d" [label=None, style=solid]; | ||
"3 conv2d" -> "4 output" [label="(1, 1, 1, 1)", style=solid]; | ||
} |
11 changes: 11 additions & 0 deletions
11
...a/fx/reference_graphs/extracted_graphs/ConvolutionWithNotTensorBiasModelconv2d_conv2d.dot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
strict digraph { | ||
"0 _param_constant0" [id=0, type=get_attr]; | ||
"1 add" [id=1, type=add]; | ||
"2 conv2d_input" [id=2, type=input]; | ||
"3 conv2d" [id=3, type=conv2d]; | ||
"4 output" [id=4, type=output]; | ||
"0 _param_constant0" -> "1 add" [label="(1, 1, 1, 1)", style=solid]; | ||
"1 add" -> "3 conv2d" [label="(1, 1, 1, 1)", style=solid]; | ||
"2 conv2d_input" -> "3 conv2d" [label=None, style=solid]; | ||
"3 conv2d" -> "4 output" [label="(1, 1, 3, 3)", style=solid]; | ||
} |
15 changes: 15 additions & 0 deletions
15
.../data/fx/reference_graphs/extracted_graphs/MultiBranchesConnectedModelconv2d_1_add__1.dot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
strict digraph { | ||
"0 _param_constant2" [id=0, type=get_attr]; | ||
"1 _param_constant3" [id=1, type=get_attr]; | ||
"2 conv2d_1_input" [id=2, type=input]; | ||
"3 conv2d_1" [id=3, type=conv2d]; | ||
"4 _tensor_constant0_1" [id=4, type=get_attr]; | ||
"5 add__1" [id=5, type=add_]; | ||
"6 output" [id=6, type=output]; | ||
"0 _param_constant2" -> "3 conv2d_1" [label="(3, 3, 1, 1)", style=solid]; | ||
"1 _param_constant3" -> "3 conv2d_1" [label="(3,)", style=solid]; | ||
"2 conv2d_1_input" -> "3 conv2d_1" [label=None, style=solid]; | ||
"3 conv2d_1" -> "5 add__1" [label="(1, 3, 3, 3)", style=solid]; | ||
"4 _tensor_constant0_1" -> "5 add__1" [label="(1,)", style=solid]; | ||
"5 add__1" -> "6 output" [label="(1, 3, 3, 3)", style=solid]; | ||
} |
38 changes: 38 additions & 0 deletions
38
...ch/data/fx/reference_graphs/extracted_graphs/MultiBranchesConnectedModelconv2d_add__1.dot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
strict digraph { | ||
"0 _param_constant0" [id=0, type=get_attr]; | ||
"1 _param_constant1" [id=1, type=get_attr]; | ||
"2 conv2d_input" [id=2, type=input]; | ||
"3 conv2d" [id=3, type=conv2d]; | ||
"4 _param_constant2" [id=4, type=get_attr]; | ||
"5 _param_constant3" [id=5, type=get_attr]; | ||
"6 conv2d_1" [id=6, type=conv2d]; | ||
"7 _tensor_constant0" [id=7, type=get_attr]; | ||
"8 add_" [id=8, type=add_]; | ||
"9 _tensor_constant0_1" [id=9, type=get_attr]; | ||
"10 add__1" [id=10, type=add_]; | ||
"11 add" [id=11, type=add]; | ||
"12 _param_constant4" [id=12, type=get_attr]; | ||
"13 _param_constant5" [id=13, type=get_attr]; | ||
"14 conv2d_2" [id=14, type=conv2d]; | ||
"15 _tensor_constant0_2" [id=15, type=get_attr]; | ||
"16 add_1" [id=16, type=add]; | ||
"17 output" [id=17, type=output]; | ||
"0 _param_constant0" -> "3 conv2d" [label="(3, 3, 1, 1)", style=solid]; | ||
"1 _param_constant1" -> "3 conv2d" [label="(3,)", style=solid]; | ||
"2 conv2d_input" -> "3 conv2d" [label=None, style=solid]; | ||
"3 conv2d" -> "6 conv2d_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"3 conv2d" -> "8 add_" [label="(1, 3, 3, 3)", style=solid]; | ||
"4 _param_constant2" -> "6 conv2d_1" [label="(3, 3, 1, 1)", style=solid]; | ||
"5 _param_constant3" -> "6 conv2d_1" [label="(3,)", style=solid]; | ||
"6 conv2d_1" -> "10 add__1" [label="(1, 3, 3, 3)", style=solid]; | ||
"7 _tensor_constant0" -> "8 add_" [label="(1,)", style=solid]; | ||
"8 add_" -> "11 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"9 _tensor_constant0_1" -> "10 add__1" [label="(1,)", style=solid]; | ||
"10 add__1" -> "11 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"10 add__1" -> "17 output" [label="(1, 3, 3, 3)", style=solid]; | ||
"11 add" -> "14 conv2d_2" [label="(1, 3, 3, 3)", style=solid]; | ||
"12 _param_constant4" -> "14 conv2d_2" [label="(3, 3, 1, 1)", style=solid]; | ||
"13 _param_constant5" -> "14 conv2d_2" [label="(3,)", style=solid]; | ||
"14 conv2d_2" -> "16 add_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"15 _tensor_constant0_2" -> "16 add_1" [label="(1,)", style=solid]; | ||
} |
29 changes: 29 additions & 0 deletions
29
.../data/fx/reference_graphs/extracted_graphs/MultiBranchesConnectedModelconv2d_add__add.dot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
strict digraph { | ||
"0 _param_constant0" [id=0, type=get_attr]; | ||
"1 _param_constant1" [id=1, type=get_attr]; | ||
"2 conv2d_input" [id=2, type=input]; | ||
"3 conv2d" [id=3, type=conv2d]; | ||
"4 _param_constant2" [id=4, type=get_attr]; | ||
"5 _param_constant3" [id=5, type=get_attr]; | ||
"6 conv2d_1" [id=6, type=conv2d]; | ||
"7 _tensor_constant0" [id=7, type=get_attr]; | ||
"8 add_" [id=8, type=add_]; | ||
"9 _tensor_constant0_1" [id=9, type=get_attr]; | ||
"10 add__1" [id=10, type=add_]; | ||
"11 add" [id=11, type=add]; | ||
"12 output" [id=12, type=output]; | ||
"0 _param_constant0" -> "3 conv2d" [label="(3, 3, 1, 1)", style=solid]; | ||
"1 _param_constant1" -> "3 conv2d" [label="(3,)", style=solid]; | ||
"2 conv2d_input" -> "3 conv2d" [label=None, style=solid]; | ||
"3 conv2d" -> "6 conv2d_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"3 conv2d" -> "8 add_" [label="(1, 3, 3, 3)", style=solid]; | ||
"4 _param_constant2" -> "6 conv2d_1" [label="(3, 3, 1, 1)", style=solid]; | ||
"5 _param_constant3" -> "6 conv2d_1" [label="(3,)", style=solid]; | ||
"6 conv2d_1" -> "10 add__1" [label="(1, 3, 3, 3)", style=solid]; | ||
"7 _tensor_constant0" -> "8 add_" [label="(1,)", style=solid]; | ||
"8 add_" -> "11 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"8 add_" -> "12 output" [label="(1, 3, 3, 3)", style=solid]; | ||
"9 _tensor_constant0_1" -> "10 add__1" [label="(1,)", style=solid]; | ||
"10 add__1" -> "11 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"11 add" -> "12 output" [label="(1, 3, 3, 3)", style=solid]; | ||
} |
27 changes: 27 additions & 0 deletions
27
...erence_graphs/extracted_graphs/MultiBranchesConnectedModelconv2d_conv2d_1_add__add__1.dot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
strict digraph { | ||
"0 _param_constant0" [id=0, type=get_attr]; | ||
"1 _param_constant1" [id=1, type=get_attr]; | ||
"2 conv2d_input" [id=2, type=input]; | ||
"3 conv2d" [id=3, type=conv2d]; | ||
"4 _param_constant2" [id=4, type=get_attr]; | ||
"5 _param_constant3" [id=5, type=get_attr]; | ||
"6 conv2d_1_input" [id=6, type=input]; | ||
"7 conv2d_1" [id=7, type=conv2d]; | ||
"8 _tensor_constant0" [id=8, type=get_attr]; | ||
"9 add_" [id=9, type=add_]; | ||
"10 _tensor_constant0_1" [id=10, type=get_attr]; | ||
"11 add__1" [id=11, type=add_]; | ||
"12 output" [id=12, type=output]; | ||
"0 _param_constant0" -> "3 conv2d" [label="(3, 3, 1, 1)", style=solid]; | ||
"1 _param_constant1" -> "3 conv2d" [label="(3,)", style=solid]; | ||
"2 conv2d_input" -> "3 conv2d" [label=None, style=solid]; | ||
"3 conv2d" -> "9 add_" [label="(1, 3, 3, 3)", style=solid]; | ||
"4 _param_constant2" -> "7 conv2d_1" [label="(3, 3, 1, 1)", style=solid]; | ||
"5 _param_constant3" -> "7 conv2d_1" [label="(3,)", style=solid]; | ||
"6 conv2d_1_input" -> "7 conv2d_1" [label=None, style=solid]; | ||
"7 conv2d_1" -> "11 add__1" [label="(1, 3, 3, 3)", style=solid]; | ||
"8 _tensor_constant0" -> "9 add_" [label="(1,)", style=solid]; | ||
"9 add_" -> "12 output" [label="(1, 3, 3, 3)", style=solid]; | ||
"10 _tensor_constant0_1" -> "11 add__1" [label="(1,)", style=solid]; | ||
"11 add__1" -> "12 output" [label="(1, 3, 3, 3)", style=solid]; | ||
} |
34 changes: 34 additions & 0 deletions
34
.../data/fx/reference_graphs/extracted_graphs/MultiBranchesConnectedModelconv2d_conv2d_2.dot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
strict digraph { | ||
"0 _param_constant0" [id=0, type=get_attr]; | ||
"1 _param_constant1" [id=1, type=get_attr]; | ||
"2 conv2d_input" [id=2, type=input]; | ||
"3 conv2d" [id=3, type=conv2d]; | ||
"4 _param_constant2" [id=4, type=get_attr]; | ||
"5 _param_constant3" [id=5, type=get_attr]; | ||
"6 conv2d_1" [id=6, type=conv2d]; | ||
"7 _tensor_constant0" [id=7, type=get_attr]; | ||
"8 add_" [id=8, type=add_]; | ||
"9 _tensor_constant0_1" [id=9, type=get_attr]; | ||
"10 add__1" [id=10, type=add_]; | ||
"11 add" [id=11, type=add]; | ||
"12 _param_constant4" [id=12, type=get_attr]; | ||
"13 _param_constant5" [id=13, type=get_attr]; | ||
"14 conv2d_2" [id=14, type=conv2d]; | ||
"15 output" [id=15, type=output]; | ||
"0 _param_constant0" -> "3 conv2d" [label="(3, 3, 1, 1)", style=solid]; | ||
"1 _param_constant1" -> "3 conv2d" [label="(3,)", style=solid]; | ||
"2 conv2d_input" -> "3 conv2d" [label=None, style=solid]; | ||
"3 conv2d" -> "6 conv2d_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"3 conv2d" -> "8 add_" [label="(1, 3, 3, 3)", style=solid]; | ||
"4 _param_constant2" -> "6 conv2d_1" [label="(3, 3, 1, 1)", style=solid]; | ||
"5 _param_constant3" -> "6 conv2d_1" [label="(3,)", style=solid]; | ||
"6 conv2d_1" -> "10 add__1" [label="(1, 3, 3, 3)", style=solid]; | ||
"7 _tensor_constant0" -> "8 add_" [label="(1,)", style=solid]; | ||
"8 add_" -> "11 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"9 _tensor_constant0_1" -> "10 add__1" [label="(1,)", style=solid]; | ||
"10 add__1" -> "11 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"11 add" -> "14 conv2d_2" [label="(1, 3, 3, 3)", style=solid]; | ||
"12 _param_constant4" -> "14 conv2d_2" [label="(3, 3, 1, 1)", style=solid]; | ||
"13 _param_constant5" -> "14 conv2d_2" [label="(3,)", style=solid]; | ||
"14 conv2d_2" -> "15 output" [label="(1, 3, 3, 3)", style=solid]; | ||
} |
Oops, something went wrong.