src/mlpack/tests/ann_layer_test.cpp
BOOST_AUTO_TEST_CASE(ConcatLayerParametersTest)
{
  // Parameter order : inputSize{width, height, channels}, axis, model, run.
  arma::Row<size_t> inputSize{128, 128, 3};
  Concat<> layer(inputSize, 2, false, true);

  // Make sure we can get the parameters successfully.
  BOOST_REQUIRE_EQUAL(layer.ConcatAxis(), 2);
}
/**
 * Test that the function that can access the axis parameter of the
 * Concat layer works.
 */
Test that the function that can access the axis parameter of the
Concat layer works.
Test that the function that can access the axis parameter of the Concat layer works .
BOOST_AUTO_TEST_CASE(ConcatLayerParametersTest)
{
  arma::Row<size_t> inputSize{128, 128, 3};
  Concat<> layer(inputSize, 2, false, true);
  BOOST_REQUIRE_EQUAL(layer.ConcatAxis(), 2);
}
BOOST_AUTO_TEST_CASE ( ConcatLayerParametersTest ) { arma :: Row < size_t > inputSize { 128 , 128 , 3 } ; Concat < > layer ( inputSize , 2 , false , true ) ; BOOST_REQUIRE_EQUAL ( layer . ConcatAxis ( ) , 2 ) ; }
Test that the function that can access the axis parameter of the
 Concat layer works.
Test that the function that can access the axis parameter of the Concat layer works .
// Parameter order : inputSize{width, height, channels}, axis, model, run. // Make sure we can get the parameters successfully.