Skip to content

Commit 0b8ce73

Browse files
add comment
1 parent e0fa7bd commit 0b8ce73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_backend.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,8 @@ def test_nn_dropout(self):
366366
feed_dict = {"input_1:0": x_val}
367367
input_names_with_port = ["input_1:0"]
368368
output_names_with_port = ["output:0"]
369+
# when constant_fold is enabled, PlaceholderWithDefault will be folded into either a const or a placeholder.
370+
# here we set it False to test PlaceholderWithDefault bug: https://github.com/onnx/tensorflow-onnx/pull/446
369371
self.run_test_case(feed_dict, input_names_with_port, output_names_with_port, constant_fold=False)
370372

371373
def test_conv2d_with_input_transpose(self):

0 commit comments

Comments
 (0)