fixed styling

This commit is contained in:
Roshan Swain
2021-04-07 13:09:13 +05:30
parent 1f90c54237
commit 5f2a184fae
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -77,7 +77,6 @@ TEST_CASE("JacobianBernoulliDistributionTest", "[ANNDistTest]")
module.LogProbBackward(target, jacobianB);
REQUIRE(arma::max(arma::max(arma::abs(jacobianA - jacobianB))) <= 1e-5);
}
}
@@ -122,7 +121,7 @@ TEST_CASE("JacobianBernoulliDistributionLogisticTest", "[ANNDistTest]")
}
module.LogProbBackward(target, jacobianB);
REQUIRE(arma::approx_equal(jacobianA, jacobianB, "both", 5e-3, 5e-3));
REQUIRE(arma::approx_equal(jacobianA, jacobianB, "both", 3e-5, 3e-5));
}
}
-1
View File
@@ -351,7 +351,6 @@ TEST_CASE("SimpleAlphaDropoutLayerTest", "[ANNLayerTest]")
module.Backward(input, input, delta);
REQUIRE(arma::as_scalar(arma::max(arma::abs(arma::mean(delta) - 0) <= 0.05)));
// Test the Forward function when testing phase.
module.Deterministic() = true;
module.Forward(input, output);