1 #ifndef CALLBACK_VERBOSECALLBACK_H_ 2 #define CALLBACK_VERBOSECALLBACK_H_ 7 #include "../Callback.h" 8 #include "../Network.h" 21 void post_training_batch(
const Network* net,
const Matrix& x,
const Matrix& y)
24 std::cout <<
"[Epoch " << m_epoch_id <<
", batch " << m_batch_id <<
"] Loss = " << loss << std::endl;
27 void post_training_batch(
const Network* net,
const Matrix& x,
const IntegerVector& y)
30 std::cout <<
"[Epoch " << m_epoch_id <<
", batch " << m_batch_id <<
"] Loss = " << loss << std::endl;
const Output * get_output() const