src/mlpack/tests/ann_layer_test.cpp
BOOST_AUTO_TEST_CASE(ReinforceNormalLayerParametersTest)
{
  // Parameter : stdev.
  ReinforceNormal<> layer(4.0);

  // Make sure we can get the parameter successfully.
  BOOST_REQUIRE_EQUAL(layer.StandardDeviation(), 4.0);
}
/**
 * Test that the function that can access the stdev parameter of the
 * Reinforce Normal layer works.
 */
Test that the function that can access the stdev parameter of the
Reinforce Normal layer works.
Test that the function that can access the stdev parameter of the Reinforce Normal layer works .
BOOST_AUTO_TEST_CASE(ReinforceNormalLayerParametersTest)
{
  ReinforceNormal<> layer(4.0);
  BOOST_REQUIRE_EQUAL(layer.StandardDeviation(), 4.0);
}
BOOST_AUTO_TEST_CASE ( ReinforceNormalLayerParametersTest ) { ReinforceNormal < > layer ( 4.0 ) ; BOOST_REQUIRE_EQUAL ( layer . StandardDeviation ( ) , 4.0 ) ; }
Test that the function that can access the stdev parameter of the
 Reinforce Normal layer works.
Test that the function that can access the stdev parameter of the Reinforce Normal layer works .
// Parameter : stdev. // Make sure we can get the parameter successfully.