Fix minor style issues (remove blank line, add line at the end of the file).

This commit is contained in:
Marcus Edel
2018-06-09 01:02:58 +02:00
parent 3e6b64eb42
commit ad90acb8fc
2 changed files with 3 additions and 4 deletions
@@ -72,7 +72,6 @@ template<typename eT>
void MultiplyMerge<InputDataType, OutputDataType, CustomLayers...>::Backward(
const arma::Mat<eT>&& /* input */, arma::Mat<eT>&& gy, arma::Mat<eT>&& g)
{
if (run)
{
for (size_t i = 0; i < network.size(); ++i)
+3 -3
View File
@@ -869,7 +869,7 @@ BOOST_AUTO_TEST_CASE(SimpleAddMergeLayerTest)
for (size_t i = 0; i < 5; ++i)
{
AddMerge<> module;
AddMerge<> module(false, false);
const size_t numMergeModules = math::RandInt(2, 10);
for (size_t m = 0; m < numMergeModules; ++m)
{
@@ -1617,7 +1617,7 @@ BOOST_AUTO_TEST_CASE(SimpleMultiplyMergeLayerTest)
for (size_t i = 0; i < 5; ++i)
{
MultiplyMerge<> module;
MultiplyMerge<> module(false, false);
const size_t numMergeModules = math::RandInt(2, 10);
for (size_t m = 0; m < numMergeModules; ++m)
{
@@ -1862,4 +1862,4 @@ BOOST_AUTO_TEST_CASE(MultiplyMergeRunTest)
BOOST_REQUIRE_EQUAL(arma::accu(delta), 0);
}
BOOST_AUTO_TEST_SUITE_END();
BOOST_AUTO_TEST_SUITE_END();