-
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] Model transformer tests (#2920)
### Changes Model transformation tests are presented ### Reason for changes To cover TorchFX model transformations by tests ### Related tickets #2775 ### Tests * test_model_insertion_transformation * test_constant_update_transformation * test_constant_update_transformation_no_constant * TestQDQInsertion * test_node_removal_transformation
- Loading branch information
1 parent
73eb8b3
commit 5619afb
Showing
27 changed files
with
882 additions
and
37 deletions.
There are no files selected for viewing
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
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
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
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
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
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
11 changes: 0 additions & 11 deletions
11
tests/torch/data/reference_graphs/fx/extracted/ConvolutionWithAllConstantInputsModel.dot
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
tests/torch/data/reference_graphs/fx/extracted/ConvolutionWithNotTensorBiasModel.dot
This file was deleted.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
tests/torch/data/reference_graphs/fx/transformed/constant_update.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 arg0_1" [id=0, type=input]; | ||
"1 _param_constant0" [id=1, type=get_attr]; | ||
"2 _param_constant1" [id=2, type=get_attr]; | ||
"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 add__updated_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 arg0_1" -> "3 conv2d" [label="(1, 3, 3, 3)", style=solid]; | ||
"1 _param_constant0" -> "3 conv2d" [label="(3, 3, 1, 1)", style=solid]; | ||
"2 _param_constant1" -> "3 conv2d" [label="(3,)", 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 add__updated_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" -> "16 add_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"15 _tensor_constant0_2" -> "16 add_1" [label="(1,)", style=solid]; | ||
"16 add_1" -> "17 output" [label="(1, 3, 3, 3)", style=solid]; | ||
} |
46 changes: 46 additions & 0 deletions
46
tests/torch/data/reference_graphs/fx/transformed/model_insertion.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,46 @@ | ||
strict digraph { | ||
"0 arg0_1" [id=0, type=input]; | ||
"1 _param_constant0" [id=1, type=get_attr]; | ||
"2 _param_constant1" [id=2, type=get_attr]; | ||
"3 TEST_MODULE_0" [id=3, type=call_module]; | ||
"4 TEST_MODULE_1" [id=4, type=call_module]; | ||
"5 conv2d" [id=5, type=conv2d]; | ||
"6 TEST_MODULE_3" [id=6, type=call_module]; | ||
"7 _param_constant2" [id=7, type=get_attr]; | ||
"8 _param_constant3" [id=8, type=get_attr]; | ||
"9 TEST_MODULE_2" [id=9, type=call_module]; | ||
"10 conv2d_1" [id=10, type=conv2d]; | ||
"11 _tensor_constant0" [id=11, type=get_attr]; | ||
"12 add_" [id=12, type=add_]; | ||
"13 _tensor_constant0_1" [id=13, type=get_attr]; | ||
"14 add__1" [id=14, type=add_]; | ||
"15 add" [id=15, type=add]; | ||
"16 _param_constant4" [id=16, type=get_attr]; | ||
"17 _param_constant5" [id=17, type=get_attr]; | ||
"18 conv2d_2" [id=18, type=conv2d]; | ||
"19 _tensor_constant0_2" [id=19, type=get_attr]; | ||
"20 add_1" [id=20, type=add]; | ||
"21 output" [id=21, type=output]; | ||
"0 arg0_1" -> "3 TEST_MODULE_0" [label="(1, 3, 3, 3)", style=solid]; | ||
"1 _param_constant0" -> "4 TEST_MODULE_1" [label="(3, 3, 1, 1)", style=solid]; | ||
"2 _param_constant1" -> "5 conv2d" [label="(3,)", style=solid]; | ||
"3 TEST_MODULE_0" -> "5 conv2d" [label="(1, 3, 3, 3)", style=solid]; | ||
"4 TEST_MODULE_1" -> "5 conv2d" [label="(3, 3, 1, 1)", style=solid]; | ||
"5 conv2d" -> "6 TEST_MODULE_3" [label="(1, 3, 3, 3)", style=solid]; | ||
"6 TEST_MODULE_3" -> "10 conv2d_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"6 TEST_MODULE_3" -> "12 add_" [label="(1, 3, 3, 3)", style=solid]; | ||
"7 _param_constant2" -> "9 TEST_MODULE_2" [label="(3, 3, 1, 1)", style=solid]; | ||
"8 _param_constant3" -> "10 conv2d_1" [label="(3,)", style=solid]; | ||
"9 TEST_MODULE_2" -> "10 conv2d_1" [label="(3, 3, 1, 1)", style=solid]; | ||
"10 conv2d_1" -> "14 add__1" [label="(1, 3, 3, 3)", style=solid]; | ||
"11 _tensor_constant0" -> "12 add_" [label="(1,)", style=solid]; | ||
"12 add_" -> "15 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"13 _tensor_constant0_1" -> "14 add__1" [label="(1,)", style=solid]; | ||
"14 add__1" -> "15 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"15 add" -> "18 conv2d_2" [label="(1, 3, 3, 3)", style=solid]; | ||
"16 _param_constant4" -> "18 conv2d_2" [label="(3, 3, 1, 1)", style=solid]; | ||
"17 _param_constant5" -> "18 conv2d_2" [label="(3,)", style=solid]; | ||
"18 conv2d_2" -> "20 add_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"19 _tensor_constant0_2" -> "20 add_1" [label="(1,)", style=solid]; | ||
"20 add_1" -> "21 output" [label="(1, 3, 3, 3)", style=solid]; | ||
} |
46 changes: 46 additions & 0 deletions
46
tests/torch/data/reference_graphs/fx/transformed/model_insertion_leaf.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,46 @@ | ||
strict digraph { | ||
"0 arg0_1" [id=0, type=input]; | ||
"1 _param_constant0" [id=1, type=get_attr]; | ||
"2 _param_constant1" [id=2, type=get_attr]; | ||
"3 TEST_MODULE_0" [id=3, type=call_module]; | ||
"4 TEST_MODULE_1" [id=4, type=call_module]; | ||
"5 conv2d" [id=5, type=conv2d]; | ||
"6 TEST_MODULE_3" [id=6, type=call_module]; | ||
"7 _param_constant2" [id=7, type=get_attr]; | ||
"8 _param_constant3" [id=8, type=get_attr]; | ||
"9 TEST_MODULE_2" [id=9, type=call_module]; | ||
"10 conv2d_1" [id=10, type=conv2d]; | ||
"11 _tensor_constant0" [id=11, type=get_attr]; | ||
"12 add_" [id=12, type=add_]; | ||
"13 _tensor_constant0_1" [id=13, type=get_attr]; | ||
"14 add__1" [id=14, type=add_]; | ||
"15 add" [id=15, type=add]; | ||
"16 _param_constant4" [id=16, type=get_attr]; | ||
"17 _param_constant5" [id=17, type=get_attr]; | ||
"18 conv2d_2" [id=18, type=conv2d]; | ||
"19 _tensor_constant0_2" [id=19, type=get_attr]; | ||
"20 add_1" [id=20, type=add]; | ||
"21 output" [id=21, type=output]; | ||
"0 arg0_1" -> "3 TEST_MODULE_0" [label="(1, 3, 3, 3)", style=solid]; | ||
"0 arg0_1" -> "5 conv2d" [label="(1, 3, 3, 3)", style=solid]; | ||
"1 _param_constant0" -> "4 TEST_MODULE_1" [label="(3, 3, 1, 1)", style=solid]; | ||
"1 _param_constant0" -> "5 conv2d" [label="(3, 3, 1, 1)", style=solid]; | ||
"2 _param_constant1" -> "5 conv2d" [label="(3,)", style=solid]; | ||
"5 conv2d" -> "6 TEST_MODULE_3" [label="(1, 3, 3, 3)", style=solid]; | ||
"5 conv2d" -> "10 conv2d_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"5 conv2d" -> "12 add_" [label="(1, 3, 3, 3)", style=solid]; | ||
"7 _param_constant2" -> "9 TEST_MODULE_2" [label="(3, 3, 1, 1)", style=solid]; | ||
"7 _param_constant2" -> "10 conv2d_1" [label="(3, 3, 1, 1)", style=solid]; | ||
"8 _param_constant3" -> "10 conv2d_1" [label="(3,)", style=solid]; | ||
"10 conv2d_1" -> "14 add__1" [label="(1, 3, 3, 3)", style=solid]; | ||
"11 _tensor_constant0" -> "12 add_" [label="(1,)", style=solid]; | ||
"12 add_" -> "15 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"13 _tensor_constant0_1" -> "14 add__1" [label="(1,)", style=solid]; | ||
"14 add__1" -> "15 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"15 add" -> "18 conv2d_2" [label="(1, 3, 3, 3)", style=solid]; | ||
"16 _param_constant4" -> "18 conv2d_2" [label="(3, 3, 1, 1)", style=solid]; | ||
"17 _param_constant5" -> "18 conv2d_2" [label="(3,)", style=solid]; | ||
"18 conv2d_2" -> "20 add_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"19 _tensor_constant0_2" -> "20 add_1" [label="(1,)", style=solid]; | ||
"20 add_1" -> "21 output" [label="(1, 3, 3, 3)", style=solid]; | ||
} |
32 changes: 32 additions & 0 deletions
32
tests/torch/data/reference_graphs/fx/transformed/node_removal_ref.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,32 @@ | ||
strict digraph { | ||
"0 arg0_1" [id=0, type=input]; | ||
"1 _param_constant2" [id=1, type=get_attr]; | ||
"2 _param_constant3" [id=2, type=get_attr]; | ||
"3 conv2d_1" [id=3, type=conv2d]; | ||
"4 _tensor_constant0" [id=4, type=get_attr]; | ||
"5 add_" [id=5, type=add_]; | ||
"6 _tensor_constant0_1" [id=6, type=get_attr]; | ||
"7 add__1" [id=7, type=add_]; | ||
"8 add" [id=8, type=add]; | ||
"9 _param_constant4" [id=9, type=get_attr]; | ||
"10 _param_constant5" [id=10, type=get_attr]; | ||
"11 conv2d_2" [id=11, type=conv2d]; | ||
"12 _tensor_constant0_2" [id=12, type=get_attr]; | ||
"13 add_1" [id=13, type=add]; | ||
"14 output" [id=14, type=output]; | ||
"0 arg0_1" -> "3 conv2d_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"0 arg0_1" -> "5 add_" [label="(1, 3, 3, 3)", style=solid]; | ||
"1 _param_constant2" -> "3 conv2d_1" [label="(3, 3, 1, 1)", style=solid]; | ||
"2 _param_constant3" -> "3 conv2d_1" [label="(3,)", style=solid]; | ||
"3 conv2d_1" -> "7 add__1" [label="(1, 3, 3, 3)", style=solid]; | ||
"4 _tensor_constant0" -> "5 add_" [label="(1,)", style=solid]; | ||
"5 add_" -> "8 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"6 _tensor_constant0_1" -> "7 add__1" [label="(1,)", style=solid]; | ||
"7 add__1" -> "8 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"8 add" -> "11 conv2d_2" [label="(1, 3, 3, 3)", style=solid]; | ||
"9 _param_constant4" -> "11 conv2d_2" [label="(3, 3, 1, 1)", style=solid]; | ||
"10 _param_constant5" -> "11 conv2d_2" [label="(3,)", style=solid]; | ||
"11 conv2d_2" -> "13 add_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"12 _tensor_constant0_2" -> "13 add_1" [label="(1,)", style=solid]; | ||
"13 add_1" -> "14 output" [label="(1, 3, 3, 3)", style=solid]; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
48 changes: 48 additions & 0 deletions
48
tests/torch/data/reference_graphs/fx/transformed/qdq_insert_conv2d_1_5_1_per_channel.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,48 @@ | ||
strict digraph { | ||
"0 arg0_1" [id=0, type=input]; | ||
"1 _param_constant0" [id=1, type=get_attr]; | ||
"2 _param_constant1" [id=2, type=get_attr]; | ||
"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_scale_0" [id=6, type=get_attr]; | ||
"7 conv2d_1_zero_point_0" [id=7, type=get_attr]; | ||
"8 quantize_per_channel_default" [id=8, type=quantize_per_channel]; | ||
"9 dequantize_per_channel_default" [id=9, type=dequantize_per_channel]; | ||
"10 conv2d_1" [id=10, type=conv2d]; | ||
"11 _tensor_constant0" [id=11, type=get_attr]; | ||
"12 add_" [id=12, type=add_]; | ||
"13 _tensor_constant0_1" [id=13, type=get_attr]; | ||
"14 add__1" [id=14, type=add_]; | ||
"15 add" [id=15, type=add]; | ||
"16 _param_constant4" [id=16, type=get_attr]; | ||
"17 _param_constant5" [id=17, type=get_attr]; | ||
"18 conv2d_2" [id=18, type=conv2d]; | ||
"19 _tensor_constant0_2" [id=19, type=get_attr]; | ||
"20 add_1" [id=20, type=add]; | ||
"21 output" [id=21, type=output]; | ||
"0 arg0_1" -> "3 conv2d" [label="(1, 3, 3, 3)", style=solid]; | ||
"1 _param_constant0" -> "3 conv2d" [label="(3, 3, 1, 1)", style=solid]; | ||
"2 _param_constant1" -> "3 conv2d" [label="(3,)", style=solid]; | ||
"3 conv2d" -> "10 conv2d_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"3 conv2d" -> "12 add_" [label="(1, 3, 3, 3)", style=solid]; | ||
"4 _param_constant2" -> "8 quantize_per_channel_default" [label="(3, 3, 1, 1)", style=solid]; | ||
"5 _param_constant3" -> "10 conv2d_1" [label="(3,)", style=solid]; | ||
"6 conv2d_1_scale_0" -> "8 quantize_per_channel_default" [label="(1,)", style=solid]; | ||
"6 conv2d_1_scale_0" -> "9 dequantize_per_channel_default" [label="(1,)", style=solid]; | ||
"7 conv2d_1_zero_point_0" -> "8 quantize_per_channel_default" [label="(1,)", style=solid]; | ||
"7 conv2d_1_zero_point_0" -> "9 dequantize_per_channel_default" [label="(1,)", style=solid]; | ||
"8 quantize_per_channel_default" -> "9 dequantize_per_channel_default" [label="(3, 3, 1, 1)", style=solid]; | ||
"9 dequantize_per_channel_default" -> "10 conv2d_1" [label="(3, 3, 1, 1)", style=solid]; | ||
"10 conv2d_1" -> "14 add__1" [label="(1, 3, 3, 3)", style=solid]; | ||
"11 _tensor_constant0" -> "12 add_" [label="(1,)", style=solid]; | ||
"12 add_" -> "15 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"13 _tensor_constant0_1" -> "14 add__1" [label="(1,)", style=solid]; | ||
"14 add__1" -> "15 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"15 add" -> "18 conv2d_2" [label="(1, 3, 3, 3)", style=solid]; | ||
"16 _param_constant4" -> "18 conv2d_2" [label="(3, 3, 1, 1)", style=solid]; | ||
"17 _param_constant5" -> "18 conv2d_2" [label="(3,)", style=solid]; | ||
"18 conv2d_2" -> "20 add_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"19 _tensor_constant0_2" -> "20 add_1" [label="(1,)", style=solid]; | ||
"20 add_1" -> "21 output" [label="(1, 3, 3, 3)", style=solid]; | ||
} |
42 changes: 42 additions & 0 deletions
42
tests/torch/data/reference_graphs/fx/transformed/qdq_insert_conv2d_1_5_1_per_tensor.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,42 @@ | ||
strict digraph { | ||
"0 arg0_1" [id=0, type=input]; | ||
"1 _param_constant0" [id=1, type=get_attr]; | ||
"2 _param_constant1" [id=2, type=get_attr]; | ||
"3 conv2d" [id=3, type=conv2d]; | ||
"4 _param_constant2" [id=4, type=get_attr]; | ||
"5 _param_constant3" [id=5, type=get_attr]; | ||
"6 quantize_per_tensor_default" [id=6, type=quantize_per_tensor]; | ||
"7 dequantize_per_tensor_default" [id=7, type=dequantize_per_tensor]; | ||
"8 conv2d_1" [id=8, type=conv2d]; | ||
"9 _tensor_constant0" [id=9, type=get_attr]; | ||
"10 add_" [id=10, type=add_]; | ||
"11 _tensor_constant0_1" [id=11, type=get_attr]; | ||
"12 add__1" [id=12, type=add_]; | ||
"13 add" [id=13, type=add]; | ||
"14 _param_constant4" [id=14, type=get_attr]; | ||
"15 _param_constant5" [id=15, type=get_attr]; | ||
"16 conv2d_2" [id=16, type=conv2d]; | ||
"17 _tensor_constant0_2" [id=17, type=get_attr]; | ||
"18 add_1" [id=18, type=add]; | ||
"19 output" [id=19, type=output]; | ||
"0 arg0_1" -> "3 conv2d" [label="(1, 3, 3, 3)", style=solid]; | ||
"1 _param_constant0" -> "3 conv2d" [label="(3, 3, 1, 1)", style=solid]; | ||
"2 _param_constant1" -> "3 conv2d" [label="(3,)", style=solid]; | ||
"3 conv2d" -> "8 conv2d_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"3 conv2d" -> "10 add_" [label="(1, 3, 3, 3)", style=solid]; | ||
"4 _param_constant2" -> "6 quantize_per_tensor_default" [label="(3, 3, 1, 1)", style=solid]; | ||
"5 _param_constant3" -> "8 conv2d_1" [label="(3,)", style=solid]; | ||
"6 quantize_per_tensor_default" -> "7 dequantize_per_tensor_default" [label="(3, 3, 1, 1)", style=solid]; | ||
"7 dequantize_per_tensor_default" -> "8 conv2d_1" [label="(3, 3, 1, 1)", style=solid]; | ||
"8 conv2d_1" -> "12 add__1" [label="(1, 3, 3, 3)", style=solid]; | ||
"9 _tensor_constant0" -> "10 add_" [label="(1,)", style=solid]; | ||
"10 add_" -> "13 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"11 _tensor_constant0_1" -> "12 add__1" [label="(1,)", style=solid]; | ||
"12 add__1" -> "13 add" [label="(1, 3, 3, 3)", style=solid]; | ||
"13 add" -> "16 conv2d_2" [label="(1, 3, 3, 3)", style=solid]; | ||
"14 _param_constant4" -> "16 conv2d_2" [label="(3, 3, 1, 1)", style=solid]; | ||
"15 _param_constant5" -> "16 conv2d_2" [label="(3,)", style=solid]; | ||
"16 conv2d_2" -> "18 add_1" [label="(1, 3, 3, 3)", style=solid]; | ||
"17 _tensor_constant0_2" -> "18 add_1" [label="(1,)", style=solid]; | ||
"18 add_1" -> "19 output" [label="(1, 3, 3, 3)", style=solid]; | ||
} |
Oops, something went wrong.