Commit 7e4802c
authored
Fixed Dropout logic when is_test == 1 and opset < 7 (#774)
* Fixed Dropout logic when is_test == 1 and opset < 7
A recent change incorrectly moved the is_test check later in the
conditional logic, causing failures in several model zoo models,
like caffenet-3 and squeezenet1.0-6.
Signed-off-by: Jason Plurad <[email protected]>
* Improved Dropout logic when is_test == 1 and opset < 7
Signed-off-by: Jason Plurad <[email protected]>1 parent 52fbf7b commit 7e4802c
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
0 commit comments