unittest/lstm_test.cc
TEST_F(LSTMTrainerTest, EncodedSoftmaxTest) {
  // LSTM with a built-in encoded softmax can beat the external softmax.
  SetupTrainerEng("[1,1,0,32 LE96]", "Lstm-+-softmax", false, true);
  double lstm_sm_err = TrainIterations(kTrainerIterations * 2);
  EXPECT_LT(lstm_sm_err, 62.0);
  LOG(INFO) << "********** Expected   < 62 ************\n";
  // Check that it works in int mode too.
  TestIntMode(kTrainerIterations);
}
// Tests that the built-in encoded softmax does better than the external one.
// It takes a lot of iterations to get there.
Tests that the built-in encoded softmax does better than the external one.
It takes a lot of iterations to get there.
Tests that the built - in encoded softmax does better than the external one . It takes a lot of iterations to get there .
TEST_F(LSTMTrainerTest, EncodedSoftmaxTest) {
  SetupTrainerEng("[1,1,0,32 LE96]", "Lstm-+-softmax", false, true);
  double lstm_sm_err = TrainIterations(kTrainerIterations * 2);
  EXPECT_LT(lstm_sm_err, 62.0);
  LOG(INFO) << "********** Expected   < 62 ************\n";
  TestIntMode(kTrainerIterations);
}
TEST_F ( LSTMTrainerTest , EncodedSoftmaxTest ) { SetupTrainerEng ( " " , " " , false , true ) ; double lstm_sm_err = TrainIterations ( kTrainerIterations * 2 ) ; EXPECT_LT ( lstm_sm_err , 62.0 ) ; LOG ( INFO ) << " \n " ; TestIntMode ( kTrainerIterations ) ; }
Tests that the built-in encoded softmax does better than the external one.
Tests that the built - in encoded softmax does better than the external one .
// LSTM with a built-in encoded softmax can beat the external softmax. // Check that it works in int mode too.