Skip to content
Snippets Groups Projects
Commit bd2fc061 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Fixed unit test for Windows

parent f01d1116
No related branches found
No related tags found
1 merge request!11Removed padding from conv and pool and added Pad operator
Pipeline #32639 passed
...@@ -25,7 +25,8 @@ TEST_CASE("[core/operators] MetaOperator", "[Operator]") { ...@@ -25,7 +25,8 @@ TEST_CASE("[core/operators] MetaOperator", "[Operator]") {
REQUIRE(microGraph->getNodes().size() == 2); REQUIRE(microGraph->getNodes().size() == 2);
REQUIRE(microGraph->inputNodes().size() == 2); // 2 because Conv has inputs outside the meta-op (Producers for weight and bias) REQUIRE(microGraph->inputNodes().size() == 2); // 2 because Conv has inputs outside the meta-op (Producers for weight and bias)
REQUIRE((*microGraph->inputNodes().begin())->getOperator()->type() == "Pad"); // Order not garanteed by the GraphView
//REQUIRE((*microGraph->inputNodes().begin())->getOperator()->type() == "Pad");
REQUIRE(microGraph->outputNodes().size() == 1); REQUIRE(microGraph->outputNodes().size() == 1);
REQUIRE((*microGraph->outputNodes().begin())->getOperator()->type() == "Conv"); REQUIRE((*microGraph->outputNodes().begin())->getOperator()->type() == "Conv");
REQUIRE(op->nbInputs() == 3); REQUIRE(op->nbInputs() == 3);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment