layer_names_index_[layer_names_[layer_id]] = layer_id;
}
GetLearningRateAndWeightDecay();
+ debug_info_ = param.debug_info();
LOG(INFO) << "Network initialization done.";
LOG(INFO) << "Memory required for data: " << memory_used_ * sizeof(Dtype);
- // Don't display debug info by default.
- debug_info_ = false;
}
template <typename Dtype>
// Some layers may be included/excluded depending on this state and the states
// specified in the layers' include and exclude fields.
optional NetState state = 6;
+
+ // Print debugging information about results while running Net::Forward,
+ // Net::Backward, and Net::Update.
+ optional bool debug_info = 7 [default = false];
}
// NOTE