Skip to content

Commit

Permalink
update head
Browse files Browse the repository at this point in the history
  • Loading branch information
Manthan-R-Sheth committed Apr 3, 2018
1 parent b3451ab commit 00e2c9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mlpack/tests/ann_layer_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,9 @@ BOOST_AUTO_TEST_CASE(GradientFlexibleReLULayerTest)
input = arma::randn(10, 1);
target = arma::mat("1");

model = new FFN<NegativeLogLikelihood<>, NguyenWidrowInitialization>(
input, target);
model = new FFN<NegativeLogLikelihood<>, NguyenWidrowInitialization>();
model->Predictors() = input;
model->Responses() = target;
model->Add<Linear<> >(10, 2);
model->Add<FlexibleReLU<> >(0.05);
model->Add<LogSoftMax<> >();
Expand Down

0 comments on commit 00e2c9f

Please sign in to comment.